Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IDAT: incorrect data check (libpng failed) #363

Open
peter-gribanov opened this issue Aug 31, 2020 · 0 comments
Open

IDAT: incorrect data check (libpng failed) #363

peter-gribanov opened this issue Aug 31, 2020 · 0 comments

Comments

@peter-gribanov
Copy link

Found a problem with file compression.

# pngquant pngquant_fail.png
  error: IDAT: incorrect data check (libpng failed)
  error: cannot decode image pngquant_fail.png

The file is perfectly normal. Opens correctly in many programs. There is no apparent reason for the failure.

The file was created in Adobe Photoshop. We managed to solve the problem by re-saving the file in Adobe Photoshop. But still i would like to know what was the problem with this file?

# pngquant -v
No input files specified.
pngquant, 2.12.5 (July 2019), by Kornel Lesinski, Greg Roelofs.
   Compiled with OpenMP (multicore support).
   Color profiles are supported via Little CMS. Using libpng 1.6.34.
# sudo yum list installed | grep png
libpng.x86_64                        2:1.6.34-5.el8                                   @anaconda
libpng-devel.x86_64                  2:1.6.34-5.el8                                   @BaseOS
libpng12.x86_64                      1.2.57-5.el8                                     @AppStream
pngquant.x86_64                      2.12.5-1.el8                                     @epel

Bad image pngquant incorrect data check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant