mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[libpng17] Completed full working pngimage test program and added two test
scripts. Fixed combination of ~alpha with shift. On read invert alpha, processing occurred after shift processing, which causes the final values to be outside the range that should be produced by the shift. Reversing the order on read makes the two transforms work together correctly and mirrors the order used on write.
This commit is contained in:
committed by
Glenn Randers-Pehrson
parent
cf354c2c82
commit
dc63b03da1
2
tests/pngimage-quick
Executable file
2
tests/pngimage-quick
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec ./pngimage --log "${srcdir}/contrib/pngsuite/"*.png
|
||||
Reference in New Issue
Block a user