Package org.apache.commons.imaging.formats.tiff.photometricinterpreters

# Class PhotometricInterpreterCmyk

java.lang.Object
org.apache.commons.imaging.formats.tiff.photometricinterpreters.AbstractPhotometricInterpreter
org.apache.commons.imaging.formats.tiff.photometricinterpreters.PhotometricInterpreterCmyk

public class PhotometricInterpreterCmyk extends AbstractPhotometricInterpreter

- ## Field Summary

  ### Fields inherited from class org.apache.commons.imaging.formats.tiff.photometricinterpreters.AbstractPhotometricInterpreter

  `height, predictor, samplesPerPixel, width`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PhotometricInterpreterCmyk(int samplesPerPixel, int[] bitsPerSample, int predictor, int width, int height)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `interpretPixel(ImageBuilder imageBuilder, int[] samples, int x, int y)`

  ### Methods inherited from class org.apache.commons.imaging.formats.tiff.photometricinterpreters.AbstractPhotometricInterpreter

  `getBitsPerSample`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### PhotometricInterpreterCmyk

    public PhotometricInterpreterCmyk(int samplesPerPixel, int[] bitsPerSample, int predictor, int width, int height)

- ## Method Details

  - ### interpretPixel

    public void interpretPixel(ImageBuilder imageBuilder, int[] samples, int x, int y) throws ImagingException, IOException
    Specified by:
      `interpretPixel` in class `AbstractPhotometricInterpreter`
    Throws:
      `ImagingException`
      `IOException`