Class ImageInfo

java.lang.Object
org.apache.xmlgraphics.image.codec.tiff.ImageInfo

final class ImageInfo extends Object
  • Field Details

    • DEFAULT_ROWS_PER_STRIP

      private static final int DEFAULT_ROWS_PER_STRIP
      See Also:
    • 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 Details

  • Method Details

    • copyColormap

      private static char[] copyColormap(char[] colorMap)
    • getNumberOfExtraSamplesForColorSpace

      private static int getNumberOfExtraSamplesForColorSpace(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(RenderedImage im, int dataTypeSize, int numBands, ColorModel colorModel, TIFFEncodeParam params)