Class PcxWriter


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

      • encoding

        private final int encoding
      • bitDepthWanted

        private final int bitDepthWanted
      • planesWanted

        private final int planesWanted
      • rleWriter

        private final RleWriter rleWriter
    • Method Detail

      • writeImage

        public void writeImage​(java.awt.image.BufferedImage src,
                               java.io.OutputStream os)
                        throws java.io.IOException
        Throws:
        java.io.IOException
      • writePixels

        private void writePixels​(java.awt.image.BufferedImage src,
                                 int bitDepth,
                                 int planes,
                                 int bytesPerLine,
                                 SimplePalette palette,
                                 AbstractBinaryOutputStream bos)
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • writePixels32

        private void writePixels32​(java.awt.image.BufferedImage src,
                                   int bytesPerLine,
                                   AbstractBinaryOutputStream bos)
                            throws java.io.IOException
        Throws:
        java.io.IOException