« Previous | Next » 

Revision 68bed67d

ID68bed67d2eaabcfa7eaf00442312055f7d953b69
Parent 85eedcf6
Child 5319f48a

Added by Stefano Sabatini about 9 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.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences