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

Skip unsupported image formats #26

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

Skip unsupported image formats #26

wants to merge 1 commit into from

Conversation

mccutchen
Copy link

This skips unsupported (ie, non-png) image files in two steps:

  1. Skip attempting to parse images with non-png extensions
  2. Gracefully handle errors from parsing invalid png images (in case some .png file is invalid or improperly-named)

I could not figure out how to attach this pull request to the existing issue #10, so I'm basically duplicating it here. Sorry for the noise!

 1. Skip attempting to parse images with non-png extensions

 2. Gracefully handle errors from parsing invalid png images
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.

1 participant