Class ImageInfo
- java.lang.Object
-
- org.apache.xmlgraphics.image.codec.tiff.ImageInfo
-
final class ImageInfo extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classImageInfo.ImageInfoBuilder
-
Field Summary
Fields Modifier and Type Field Description private longbytesPerRowprivate longbytesPerTileprivate char[]colormapprivate intcolormapSizeprivate static intDEFAULT_ROWS_PER_STRIPprivate ExtraSamplesTypeextraSampleTypeprivate ImageTypeimageTypeprivate intnumExtraSamplesprivate intnumTilesprivate inttileHeightprivate inttileWidth
-
Constructor Summary
Constructors Modifier Constructor Description privateImageInfo(ImageInfo.ImageInfoBuilder builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static charconvertColorToColormapChar(int color)private static char[]copyColormap(char[] colorMap)private static char[]createColormap(int sizeOfColormap, byte[] r, byte[] g, byte[] b)(package private) longgetBytesPerRow()(package private) longgetBytesPerTile()(package private) char[]getColormap()(package private) intgetColormapSize()(package private) ExtraSamplesTypegetExtraSamplesType()(package private) intgetNumberOfExtraSamples()private static intgetNumberOfExtraSamplesForColorSpace(java.awt.color.ColorSpace colorSpace, ImageType imageType, int numBands)(package private) intgetNumTiles()(package private) intgetTileHeight()(package private) intgetTileWidth()(package private) ImageTypegetType()(package private) static ImageInfonewInstance(java.awt.image.RenderedImage im, int dataTypeSize, int numBands, java.awt.image.ColorModel colorModel, TIFFEncodeParam params)
-
-
-
Field Detail
-
DEFAULT_ROWS_PER_STRIP
private static final int DEFAULT_ROWS_PER_STRIP
- See Also:
- Constant Field Values
-
numExtraSamples
private final int numExtraSamples
-
extraSampleType
private final ExtraSamplesType extraSampleType
-
imageType
private final ImageType imageType
-
colormapSize
private final int colormapSize
-
colormap
private final char[] colormap
-
tileWidth
private final int tileWidth
-
tileHeight
private final int tileHeight
-
numTiles
private final int numTiles
-
bytesPerRow
private final long bytesPerRow
-
bytesPerTile
private final long bytesPerTile
-
-
Constructor Detail
-
ImageInfo
private ImageInfo(ImageInfo.ImageInfoBuilder builder)
-
-
Method Detail
-
copyColormap
private static char[] copyColormap(char[] colorMap)
-
getNumberOfExtraSamplesForColorSpace
private static int getNumberOfExtraSamplesForColorSpace(java.awt.color.ColorSpace colorSpace, ImageType imageType, int numBands)
-
createColormap
private static char[] createColormap(int sizeOfColormap, byte[] r, byte[] g, byte[] b)
-
convertColorToColormapChar
private static char convertColorToColormapChar(int color)
-
getNumberOfExtraSamples
int getNumberOfExtraSamples()
-
getExtraSamplesType
ExtraSamplesType getExtraSamplesType()
-
getType
ImageType getType()
-
getColormapSize
int getColormapSize()
-
getColormap
char[] getColormap()
-
getTileWidth
int getTileWidth()
-
getTileHeight
int getTileHeight()
-
getNumTiles
int getNumTiles()
-
getBytesPerRow
long getBytesPerRow()
-
getBytesPerTile
long getBytesPerTile()
-
newInstance
static ImageInfo newInstance(java.awt.image.RenderedImage im, int dataTypeSize, int numBands, java.awt.image.ColorModel colorModel, TIFFEncodeParam params)
-
-