« Previous | Next » 

Revision 4a745b41

ID4a745b41770893116405c22f832192510f9bcc9b
Parent b0e1d0d9
Child 554d3ad7

Added by Stefano Sabatini about 9 years ago

pnmdec: add support for mono images with non-space-separated pixel digits

When the file to decode contains a sequence of binary values like
"1101110...", decode_frame() was reading the sequence of digits like a
unique integer value, which was resulting in integer overflows.

The change add support for parsing non-space-separated pixel digits
for mono formats, in particular fix decoding of file battrace.pbm, and
fix trac issue #154.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences