Factor out a single PNG-reading function to encapsulate the libpng API (#1765)

This commit is contained in:
Rangi
2025-07-23 15:53:33 -04:00
committed by GitHub
parent 2ce4cdbff6
commit 7e151f16c3
19 changed files with 395 additions and 543 deletions
+1 -1
View File
@@ -1,2 +1,2 @@
FATAL: Error reading input image ("damaged1.png"): IDAT: invalid code -- missing end-of-block
FATAL: Error reading PNG image ("damaged1.png"): IDAT: invalid code -- missing end-of-block
Conversion aborted after 1 error
+1 -1
View File
@@ -1,2 +1,2 @@
FATAL: Error reading input image ("damaged2.png"): IDAT: invalid code -- missing end-of-block
FATAL: Error reading PNG image ("damaged2.png"): IDAT: invalid code -- missing end-of-block
Conversion aborted after 1 error
+1 -1
View File
@@ -1,2 +1,2 @@
FATAL: Error reading input image ("damaged9.png"): IDAT: invalid code -- missing end-of-block
FATAL: Error reading PNG image ("damaged9.png"): IDAT: invalid code -- missing end-of-block
Conversion aborted after 1 error
+1
View File
@@ -0,0 +1 @@
-m
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 400 B