Class PCXHeader


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

      • MONOCHROME

        private static final java.awt.image.IndexColorModel MONOCHROME
      • version

        private int version
      • compression

        private int compression
      • bitsPerPixel

        private int bitsPerPixel
      • width

        private int width
      • height

        private int height
      • hdpi

        private int hdpi
      • vdpi

        private int vdpi
      • palette

        private byte[] palette
      • channels

        private int channels
      • bytesPerLine

        private int bytesPerLine
      • paletteInfo

        private int paletteInfo
      • hScreenSize

        private int hScreenSize
      • vScreenSize

        private int vScreenSize
    • Constructor Detail

      • PCXHeader

        PCXHeader()
    • Method Detail

      • getVersion

        public int getVersion()
      • getCompression

        public int getCompression()
      • getBitsPerPixel

        public int getBitsPerPixel()
      • getWidth

        public int getWidth()
      • getHeight

        public int getHeight()
      • getChannels

        public int getChannels()
      • getBytesPerLine

        public int getBytesPerLine()
      • getEGAPalette

        public java.awt.image.IndexColorModel getEGAPalette()
      • isCGAVideoMode4

        private boolean isCGAVideoMode4()
      • isCGAVideoMode5

        private boolean isCGAVideoMode5()
      • isCGAVideoMode6

        private boolean isCGAVideoMode6()
      • isDummyPalette

        private boolean isDummyPalette()
      • isEmptyPalette

        private boolean isEmptyPalette()
      • isPhotoshopPalette

        private boolean isPhotoshopPalette()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • read

        public static PCXHeader read​(javax.imageio.stream.ImageInputStream imageInput)
                              throws java.io.IOException
        Throws:
        java.io.IOException