Class Info


  • public class Info
    extends Object
    • Constructor Detail

      • Info

        public Info​(int width,
                    int height,
                    int subsampling,
                    int colorspace,
                    tjscalingfactor[] factors)
        Create a new instance with the information parsed from the JPEG image.
    • Method Detail

      • getWidth

        public int getWidth()
      • getHeight

        public int getHeight()
      • getSubsampling

        public TJSAMP getSubsampling()
      • getColorspace

        public TJCS getColorspace()
      • getMCUSize

        public Dimension getMCUSize()
        Get the size of the Minimum Coding Units.

        Neccessary to calculate the right cropping alignments.