Class PhotometricInterpreterPalette

    • Field Detail

      • indexColorMap

        private final int[] indexColorMap
        The color map of integer ARGB values tied to the pixel index of the palette.
      • bitsPerPixelMask

        private final int bitsPerPixelMask
    • Constructor Detail

      • PhotometricInterpreterPalette

        public 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 colorMap is out of bounds.
        AllocationRequestException - Thrown when an allocation request exceeds the Allocator limit.