Class PackBits

java.lang.Object
org.apache.commons.imaging.common.PackBits

public class PackBits extends Object
  • Constructor Details

    • PackBits

      public PackBits()
  • Method Details

    • decompress

      public byte[] decompress(byte[] bytes, int expected) throws ImageReadException
      Throws:
      ImageReadException
    • findNextDuplicate

      private int findNextDuplicate(byte[] bytes, int start)
    • findRunLength

      private int findRunLength(byte[] bytes, int start)
    • compress

      public byte[] compress(byte[] bytes) throws IOException
      Throws:
      IOException