Class ImageInfo


  • final class ImageInfo
    extends java.lang.Object
    • Field Detail

      • DEFAULT_ROWS_PER_STRIP

        private static final int DEFAULT_ROWS_PER_STRIP
        See Also:
        Constant Field Values
      • numExtraSamples

        private final int numExtraSamples
      • 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
    • 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()
      • 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)