-
Notifications
You must be signed in to change notification settings - Fork 27k
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
[Feature Request]: img2img batch should ignore non-image files #9185
Comments
@liudibo So you should start your parameter files with a dot (example: It seems also that |
If we want to modify
However file extensions do not guarantee that the file is actually an image, same as no extension does not mean that the file is not an image. And you could also have an image with a unrelated extension. Probably a better way to handle this is to catch the exception
|
Thanks for the reply an fix. Using "." as the file prefix seems a proper solution. |
Is there an existing issue for this?
What would your feature do ?
I may place some parameter files along the image files in the same folder.
Currently an exception is throw for non-image files when do "Image.open()".
Proposed workflow
Additional information
No response
The text was updated successfully, but these errors were encountered: