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

check pnginfo for some cases #514

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

check pnginfo for some cases #514

wants to merge 1 commit into from

Conversation

wkpark
Copy link

@wkpark wkpark commented Jun 8, 2023

some extensions save_image() before/after image processing without proper pnginfo["parameters"] setted.
this fix checks some cases.

@adieyal
Copy link
Owner

adieyal commented Jul 8, 2023

Is this different to simply catching a AttributeErrors and KeyErrors?

@wkpark
Copy link
Author

wkpark commented Jul 8, 2023

Is this different to simply catching a AttributeErrors and KeyErrors?

It is simply a matter of taste I guess. my suggestion is simply ignore any images without parameters info. (BTW this issue encouraged me to fix that extension issue.)

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 this pull request may close these issues.

2 participants