Add corrupted PNGs to check error handling

This is not intended to test libpng as much as checking that
we behave correctly if libpng gives us an error
This commit is contained in:
ISSOtm authored and Eldred Habert committed 2022-07-02 17:04:17 +02:00
1 parent 4c51792f15
commit 531092f5bd
6 files changed
+6

No files matched your search

+2
View File
@@ -0,0 +1,2 @@
FATAL: Error reading input image ("damaged1.png"): IDAT: invalid code -- missing end-of-block
Conversion aborted after 1 error
Binary file not shown.

After

Width:  |  Height:  |  Size: 433 B

+2
View File
@@ -0,0 +1,2 @@
FATAL: Error reading input image ("damaged2.png"): IDAT: invalid code -- missing end-of-block
Conversion aborted after 1 error
Binary file not shown.

After

Width:  |  Height:  |  Size: 433 B

+2
View File
@@ -0,0 +1,2 @@
FATAL: Error reading input image ("damaged9.png"): IDAT: invalid code -- missing end-of-block
Conversion aborted after 1 error
Binary file not shown.

After

Width:  |  Height:  |  Size: 433 B