Class PCXHeader

java.lang.Object
com.twelvemonkeys.imageio.plugins.pcx.PCXHeader

final class PCXHeader extends Object
  • Field Details

    • MONOCHROME

      private static final 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 Details

    • PCXHeader

      PCXHeader()
  • Method Details

    • 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 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 String toString()
      Overrides:
      toString in class Object
    • read

      public static PCXHeader read(ImageInputStream imageInput) throws IOException
      Throws:
      IOException