« Previous | Next » 

Revision 68bed67d

Parent 85eedcf6
Child 5319f48a

Added by Stefano Sabatini over 10 years ago

pngdec: relax condition for setting monoblack pixel format

Ignore color_type information for setting the monoblack pixel format,
only rely on bit_depth.

In particular: fix Test_1bpp_grayscale.png from issue #172.

This may work fine for some broken encoder, and not for others.


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences