Class PhotometricInterpreterPalette
java.lang.Object
org.apache.commons.imaging.formats.tiff.photometricinterpreters.PhotometricInterpreter
org.apache.commons.imaging.formats.tiff.photometricinterpreters.PhotometricInterpreterPalette
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final int
private final int[]
The color map of integer ARGB values tied to the pixel index of the paletteFields inherited from class org.apache.commons.imaging.formats.tiff.photometricinterpreters.PhotometricInterpreter
height, predictor, samplesPerPixel, width
-
Constructor Summary
ConstructorsConstructorDescriptionPhotometricInterpreterPalette
(int samplesPerPixel, int[] bitsPerSample, int predictor, int width, int height, int[] colorMap) -
Method Summary
Modifier and TypeMethodDescriptionvoid
interpretPixel
(ImageBuilder imageBuilder, int[] samples, int x, int y) Methods inherited from class org.apache.commons.imaging.formats.tiff.photometricinterpreters.PhotometricInterpreter
getBitsPerSample
-
Field Details
-
indexColorMap
private final int[] indexColorMapThe color map of integer ARGB values tied to the pixel index of the palette -
bitsPerPixelMask
private final int bitsPerPixelMask
-
-
Constructor Details
-
PhotometricInterpreterPalette
public PhotometricInterpreterPalette(int samplesPerPixel, int[] bitsPerSample, int predictor, int width, int height, int[] colorMap)
-
-
Method Details
-
interpretPixel
public void interpretPixel(ImageBuilder imageBuilder, int[] samples, int x, int y) throws ImageReadException, IOException - Specified by:
interpretPixel
in classPhotometricInterpreter
- Throws:
ImageReadException
IOException
-