Package ch.randelshofer.media.jpeg
Class CMYKJPEGImageReadParam
- java.lang.Object
-
- javax.imageio.IIOParam
-
- javax.imageio.ImageReadParam
-
- javax.imageio.plugins.jpeg.JPEGImageReadParam
-
- ch.randelshofer.media.jpeg.CMYKJPEGImageReadParam
-
public class CMYKJPEGImageReadParam extends JPEGImageReadParam
This class adds ability to set CMYK Jpeg image read parameters like inverseYCCK color hint.
-
-
Constructor Summary
Constructors Constructor Description CMYKJPEGImageReadParam()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getUseInvertedYCCKColor()
Returns the current value of useInvertedColor flag.void
setUseInvertedYCCKColor(boolean inverted)
Sets useInvertedColor flag.-
Methods inherited from class javax.imageio.plugins.jpeg.JPEGImageReadParam
areTablesSet, getACHuffmanTables, getDCHuffmanTables, getQTables, setDecodeTables, unsetDecodeTables
-
Methods inherited from class javax.imageio.ImageReadParam
canSetSourceRenderSize, getDestination, getDestinationBands, getSourceMaxProgressivePass, getSourceMinProgressivePass, getSourceNumProgressivePasses, getSourceRenderSize, setDestination, setDestinationBands, setDestinationType, setSourceProgressivePasses, setSourceRenderSize
-
Methods inherited from class javax.imageio.IIOParam
activateController, getController, getDefaultController, getDestinationOffset, getDestinationType, getSourceBands, getSourceRegion, getSourceXSubsampling, getSourceYSubsampling, getSubsamplingXOffset, getSubsamplingYOffset, hasController, setController, setDestinationOffset, setSourceBands, setSourceRegion, setSourceSubsampling
-
-
-
-
Method Detail
-
setUseInvertedYCCKColor
public void setUseInvertedYCCKColor(boolean inverted)
Sets useInvertedColor flag. If this flag is set to true, reader can assume that JPEG has inverse YCCK color and apply appropriate transformation. Default value of this flag istrue
- Parameters:
inverted
-
-
getUseInvertedYCCKColor
public boolean getUseInvertedYCCKColor()
Returns the current value of useInvertedColor flag.- Returns:
- true if useInvertedYCCKColor flag is set.
-
-