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

Non-image files in the source folder causes failure #3

Open
per1234 opened this issue Feb 15, 2016 · 0 comments
Open

Non-image files in the source folder causes failure #3

per1234 opened this issue Feb 15, 2016 · 0 comments

Comments

@per1234
Copy link
Owner

per1234 commented Feb 15, 2016

It fails if there are any non-images in the source folder. For now I have just noted the limitation in the documentation.

  • Try to detect if the file is a valid images after loading
    • gimp-image-is-valid
    • gimp-file-load - maybe use both
      • calling this with an invalid file causes the error so I can't use it
  • Filter by extension - this seems to be the only option but I don't like it because it will be lots of code and people may be able to add support for other file types that wouldn't be on the list.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant