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

libvips: pngload_buffer: too many text chunks #2917

Open
fvsnippets opened this issue Oct 4, 2021 · 1 comment
Open

libvips: pngload_buffer: too many text chunks #2917

fvsnippets opened this issue Oct 4, 2021 · 1 comment

Comments

@fvsnippets
Copy link

@fvsnippets fvsnippets commented Oct 4, 2021

Transformations on some png images, report: "Input buffer has corrupt header: pngload_buffer: too many text chunks".

This "problem" (sometimes this error is ok to happen) was introduced with upgrade to libvips v8.11.3, which limits text chunks in exif metadata to 20.
In libvips v8.11.4, that limit was raised to 50, making it a little more flexible.

Please see libvips/libvips#2433 for details.

So, please kindly upgrade libvips to v8.11.4.

Thank you!

@lovell
Copy link
Owner

@lovell lovell commented Oct 5, 2021

To workaround this for now, please either use a globally-installed libvips or sharp v0.28.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants