Added options to recurse into source sub-directories, and to use original filenames as base for extracted image files #15
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Francois,
first a disclaimer: This is my first pull request - hope I'll do it as intended. If not, let me know how you want it done.
I liked your Gimp script very much, and added two batch options:
For that, I had to add a few auxiliary functions, which are placed before the batch version.
I also changed the name from "DivideScannedImages" to "isolate-images-on-background", partly to be able to test both versions in parallel, partly because I thought it better :-)
Finally, there are a few formatting changes, esp. indentation on the script registrations.
If you like to include these changes, I'm happy to provide them. Let me know if you have any questions.
Thanks for all the work you did before - helps me a lot!
Danke & Grüße von
nobi