Class PhotometricInterpreterPalette
java.lang.Object
org.apache.commons.imaging.formats.tiff.photometricinterpreters.AbstractPhotometricInterpreter
org.apache.commons.imaging.formats.tiff.photometricinterpreters.PhotometricInterpreterPalette
- 
Field SummaryFields inherited from class org.apache.commons.imaging.formats.tiff.photometricinterpreters.AbstractPhotometricInterpreterheight, predictor, samplesPerPixel, width
- 
Constructor SummaryConstructorsConstructorDescriptionPhotometricInterpreterPalette(int samplesPerPixel, int[] bitsPerSample, int predictor, int width, int height, int[] colorMap) Constructs a new instance.
- 
Method SummaryModifier and TypeMethodDescriptionvoidinterpretPixel(ImageBuilder imageBuilder, int[] samples, int x, int y) Methods inherited from class org.apache.commons.imaging.formats.tiff.photometricinterpreters.AbstractPhotometricInterpretergetBitsPerSample
- 
Constructor Details- 
PhotometricInterpreterPalettepublic PhotometricInterpreterPalette(int samplesPerPixel, int[] bitsPerSample, int predictor, int width, int height, int[] colorMap) Constructs a new instance.- Parameters:
- samplesPerPixel- Samples per pixel.
- bitsPerSample- Bits per sample.
- predictor- TODO
- width- TODO
- height- TODO
- colorMap- TODO
- Throws:
- ImagingFormatException- if an index into the- colorMapis out of bounds.
- AllocationRequestException- Thrown when an allocation request exceeds the- Allocatorlimit.
 
 
- 
- 
Method Details- 
interpretPixelpublic void interpretPixel(ImageBuilder imageBuilder, int[] samples, int x, int y) throws ImagingException, IOException - Specified by:
- interpretPixelin class- AbstractPhotometricInterpreter
- Throws:
- ImagingException
- IOException
 
 
-