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
This class adds ability to set CMYK Jpeg image read parameters like
inverseYCCK color hint.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the current value of useInvertedColor flag.voidsetUseInvertedYCCKColor(boolean inverted) Sets useInvertedColor flag.Methods inherited from class javax.imageio.plugins.jpeg.JPEGImageReadParam
areTablesSet, getACHuffmanTables, getDCHuffmanTables, getQTables, setDecodeTables, unsetDecodeTablesMethods inherited from class javax.imageio.ImageReadParam
canSetSourceRenderSize, getDestination, getDestinationBands, getSourceMaxProgressivePass, getSourceMinProgressivePass, getSourceNumProgressivePasses, getSourceRenderSize, setDestination, setDestinationBands, setDestinationType, setSourceProgressivePasses, setSourceRenderSizeMethods inherited from class javax.imageio.IIOParam
activateController, getController, getDefaultController, getDestinationOffset, getDestinationType, getSourceBands, getSourceRegion, getSourceXSubsampling, getSourceYSubsampling, getSubsamplingXOffset, getSubsamplingYOffset, hasController, setController, setDestinationOffset, setSourceBands, setSourceRegion, setSourceSubsampling
-
Constructor Details
-
CMYKJPEGImageReadParam
public CMYKJPEGImageReadParam()
-
-
Method Details
-
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.
-