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

Added options to recurse into source sub-directories, and to use original filenames as base for extracted image files #15

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

virtualnobi
Copy link

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:

  • Recurse through all sub-directories of the source directory
  • Use filename of original files as a base for the extracted images (restarting the counter for each)

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

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