H04N1/417

ENCODING A BINARY IMAGE

In various examples there is a method for encoding a binary image, the method comprising receiving the binary image; performing run-length encoding on pixel data of the binary image to produce run-length encoded data; performing differential encoding on the run-length encoded data to produce differential encoded data; performing variable length encoding on the differential encoded data to produce variable length encoded data; and applying a lossless compressor to the variable length encoded data to produce compressed data, the compressed data being an encoded binary image.