Package com.drew.metadata.jpeg
Class JpegComponent
- java.lang.Object
-
- com.drew.metadata.jpeg.JpegComponent
-
- All Implemented Interfaces:
Serializable
public class JpegComponent extends Object implements Serializable
Stores information about a JPEG image component such as the component id, horiz/vert sampling factor and quantization table number.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JpegComponent(int componentId, int samplingFactorByte, int quantizationTableNumber)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getComponentId()
String
getComponentName()
Returns the component name (one of: Y, Cb, Cr, I, or Q)int
getHorizontalSamplingFactor()
int
getQuantizationTableNumber()
int
getVerticalSamplingFactor()
String
toString()
-
-
-
Method Detail
-
getComponentId
public int getComponentId()
-
getComponentName
public String getComponentName()
Returns the component name (one of: Y, Cb, Cr, I, or Q)- Returns:
- the component name
-
getQuantizationTableNumber
public int getQuantizationTableNumber()
-
getHorizontalSamplingFactor
public int getHorizontalSamplingFactor()
-
getVerticalSamplingFactor
public int getVerticalSamplingFactor()
-
-