LEAD Screen Capture

From MultimediaWiki
Jump to navigation Jump to search

The codec employs headerless PNGs for compression.

Frame structure:

 16-bit LE word -  number of PNG fragments
 12-byte records of PNG fragments:
   16-bit LE word - X offset of the fragment
   16-bit LE word - Y offset of the fragment
   16-bit LE word - fragment width
   16-bit LE word - fragment height
   32-bit LE word - compressed size
 fragment data - a series of IDAT chunks and IEND chunk