Class PCLGenerator.Encoder

  • Enclosing class:
    PCLGenerator

    private class PCLGenerator.Encoder
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Encoder​(java.awt.image.RenderedImage img)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add8Bits​(byte b)  
      void addBit​(boolean bit)  
      void endLine()  
      private void finishedByte()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • imgw

        private int imgw
      • bytewidth

        private int bytewidth
      • rle

        private byte[] rle
      • uncompressed

        private byte[] uncompressed
      • lastcount

        private int lastcount
      • lastbyte

        private byte lastbyte
      • rlewidth

        private int rlewidth
      • ib

        private byte ib
      • x

        private int x
      • zeroRow

        private boolean zeroRow
    • Constructor Detail

      • Encoder

        public Encoder​(java.awt.image.RenderedImage img)
    • Method Detail

      • addBit

        public void addBit​(boolean bit)
      • add8Bits

        public void add8Bits​(byte b)
      • finishedByte

        private void finishedByte()
      • endLine

        public void endLine()
                     throws java.io.IOException
        Throws:
        java.io.IOException