-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
Wait before we actually need to process the image for checking if Pillow can handle it. #72
Wait before we actually need to process the image for checking if Pillow can handle it. #72
Conversation
41a5152
to
90c3fc1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@patrickfournier thank you, as always, for this. I think it would work (functionally) as is, but I've added some note that I think would improve it.
…recommendations Add Release.md Closes #72 # Conflicts: # pelican/plugins/image_process/image_process.py
@patrickfournier: What do you think about the suggestions @minchinweb made here? It would be great to get your improvements merged 😊 |
…low can handle it. This avoids loading the image needlessly.
- Put filename in quotes. - Re-raise exception instead of return None. - Use f-string instead of format.
4fb41a8
to
41c759c
Compare
@justinmayer Thanks for reminding me about this. I just pushed changes to add @minchinweb suggestions. |
@patrickfournier: Many thanks for the follow-up changes based on @minchinweb's suggestions. Would be so kind as to resolve the merge conflict here so we can merge this pull request? |
# Conflicts: # pelican/plugins/image_process/test_image_process.py
Done! |
Thank you both for making this happen! |
This avoids loading the image needlessly.