mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00

This fixes the code that optimizes RGB to Gray transformations that only selected on channel and clarifies the handling of max_depth in the transform code. It eliminates some UNTESTED cases and removes the write 'invert alpha' UNTESTED macro because, while there are no test cases for it, code review some months after writing it suggests it is ok. Signed-off-by: John Bowler <jbowler@acm.org>
This "contrib" directory contains contributions which are not necessarily under the libpng license, although all are open source. They are not part of libpng proper and are not used for building the library.