Package de.digitalcollections.turbojpeg
Class Info
- java.lang.Object
-
- de.digitalcollections.turbojpeg.Info
-
public class Info extends Object
-
-
Constructor Summary
Constructors Constructor Description Info(int width, int height, int subsampling, int colorspace, tjscalingfactor[] factors)
Create a new instance with the information parsed from the JPEG image.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Dimension>
getAvailableSizes()
TJCS
getColorspace()
int
getHeight()
Dimension
getMCUSize()
Get the size of the Minimum Coding Units.TJSAMP
getSubsampling()
int
getWidth()
-
-
-
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.
-
-