Class LZWEncoder

java.lang.Object
com.madgag.gif.fmsware.LZWEncoder

class LZWEncoder extends Object
  • Field Details

    • EOF

      private static final int EOF
      See Also:
    • imgW

      private int imgW
    • imgH

      private int imgH
    • pixAry

      private byte[] pixAry
    • initCodeSize

      private int initCodeSize
    • remaining

      private int remaining
    • curPixel

      private int curPixel
    • BITS

      static final int BITS
      See Also:
    • HSIZE

      static final int HSIZE
      See Also:
    • n_bits

      int n_bits
    • maxbits

      int maxbits
    • maxcode

      int maxcode
    • maxmaxcode

      int maxmaxcode
    • htab

      int[] htab
    • codetab

      int[] codetab
    • hsize

      int hsize
    • free_ent

      int free_ent
    • clear_flg

      boolean clear_flg
    • g_init_bits

      int g_init_bits
    • ClearCode

      int ClearCode
    • EOFCode

      int EOFCode
    • cur_accum

      int cur_accum
    • cur_bits

      int cur_bits
    • masks

      int[] masks
    • a_count

      int a_count
    • accum

      byte[] accum
  • Constructor Details

    • LZWEncoder

      LZWEncoder(int width, int height, byte[] pixels, int color_depth)
  • Method Details