Class AbstractPhotometricInterpreter
java.lang.Object
org.apache.commons.imaging.formats.tiff.photometricinterpreters.AbstractPhotometricInterpreter
- Direct Known Subclasses:
- PhotometricInterpreterBiLevel,- PhotometricInterpreterCieLab,- PhotometricInterpreterCmyk,- PhotometricInterpreterFloat,- PhotometricInterpreterLogLuv,- PhotometricInterpreterPalette,- PhotometricInterpreterRgb,- PhotometricInterpreterYCbCr
Interpreter for photometric information in TIFF images. The photometric interpretation tag is a requirement for valid TIFF images, and defines the color
 space of the image data.
- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected final intprotected final intprotected final intprotected final int
- 
Constructor SummaryConstructorsConstructorDescriptionAbstractPhotometricInterpreter(int samplesPerPixel, int[] bitsPerSample, int predictor, int width, int height) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected intgetBitsPerSample(int offset) abstract voidinterpretPixel(ImageBuilder imageBuilder, int[] samples, int x, int y) 
- 
Field Details- 
samplesPerPixel
- 
predictor
- 
width
- 
height
 
- 
- 
Constructor Details- 
AbstractPhotometricInterpreterpublic AbstractPhotometricInterpreter(int samplesPerPixel, int[] bitsPerSample, int predictor, int width, int height) 
 
- 
- 
Method Details- 
getBitsPerSample
- 
interpretPixelpublic abstract void interpretPixel(ImageBuilder imageBuilder, int[] samples, int x, int y) throws ImagingException, IOException - Throws:
- ImagingException
- IOException
 
 
-