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

Make max png size configurable to support large grids. #557

Open
AlysonStahl-NOAA opened this issue Nov 19, 2024 · 0 comments · May be fixed by #558
Open

Make max png size configurable to support large grids. #557

AlysonStahl-NOAA opened this issue Nov 19, 2024 · 0 comments · May be fixed by #558
Assignees

Comments

@AlysonStahl-NOAA
Copy link
Contributor

Decoding png returns the following error if the width / height is too large:

libpng warning: Image width exceeds user limit in IHDR
libpng error: Invalid IHDR data

The maximum size can be configured using:

png_set_user_limits(png_ptr, PNG_WIDTH_MAX, PNG_HEIGHT_MAX);
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

Successfully merging a pull request may close this issue.

1 participant