Class CMYKJPEGImageReadParam


  • public class CMYKJPEGImageReadParam
    extends javax.imageio.plugins.jpeg.JPEGImageReadParam
    This class adds ability to set CMYK Jpeg image read parameters like inverseYCCK color hint.
    • 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
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CMYKJPEGImageReadParam

        public CMYKJPEGImageReadParam()
    • 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 is true
        Parameters:
        inverted -
      • getUseInvertedYCCKColor

        public boolean getUseInvertedYCCKColor()
        Returns the current value of useInvertedColor flag.
        Returns:
        true if useInvertedYCCKColor flag is set.