GNOME Bugzilla – Bug 131451
twain plug-in should set incremental filenames
Last modified: 2018-05-24 10:58:38 UTC
I regularly scan in negatives on a photoscanner, only stopping to save the images when I've completed an entire roll of film. It would be useful to have a batch save option, similar to that in Photoshop so I could save the images as foo-xxx.tiff with xxx being ordered by the order in which they were aquired. I've searched the web and asked a GIMP savy friend and haven't found a feature to do this, but if I've missed it I apologise!
This report is a duplicate (or a comination) of bugs 106726 and 94364. I'll mark is as a blocker for one, and a duplicate of the other. Dave. *** This bug has been marked as a duplicate of 106726 ***
Should be like three lines in gimp-perl. Obtain the list of opened images using gimp-image-list and run gimp-file-save on each of them. I don't think such a feature should be added to the core.
I think I've left a little confusion over what I meant for this feature. I don't wish to be prompted to save each image in turn, I wish to select a few options regarding the scheme under which I'd like the open images saved and then click a button to save. For example I might want my current roll to be saved as Foo-01.tiff ... Foo-36.tiff Or perhaps if I was working with more images Bar-001.tiff ... Bar-123.tiff Ideally there'd be some form of dialog asking me what prefix I'd like, which directory I'd like to save them in, the formatting of the postfix number and the format I'd like the saved images in. Do you still think gimp-perl is the best way to go? I haven't a clue how to use it.
Please do not use the resolution "NEEDINFO" since that would mean that we need information from you, the bug reporter. I still think that it would be trivial to implement this in whatever GIMP scripting language. gimp-perl would do as well as script-fu or pygimp. You could also write a simple C plug-in to do this. It certainly doesn't belong into the GIMP core.
This request could and probably should be fulfilled by a third-party plug-in or script. Should we keep the report open?
Hi, I think such a feature might be useful, and I still think it's a duplicate (perhaps not exact, but close) of existing bug reports. Thanks for your feedback. I think that this could be implemented as an option of "close all" if the existing images have never been saved, rather than opening several dozen "save as" dialogs. Cheers, Dave.
At the moment I'm fairly busy and I'll keep on using Photoshop for this one feature until I've got the time to learn how to write plugins/scripts for GIMP. I'd like to correct one point in that it would be more useful to have the feature apply to all open images and not just unsaved open images as mentioned in Dave's comment (2004-01-14 10:30). This would help me fit photographs from my digital camera (which will already exist as saved files unlike scanned images) into the same naming scheme as my other photographs.
"saved images" as we use it refers to images that have been saved after modifying them. Unless you would want to save these under a new name, it wouldn't make much sense to save them once more.
I do wish to save saved files under a new name, possibly in a new format too.
Setting on Future milestone. This may be addressed in part for 2.2, if we use a batch processor plug-in. Currently, DBP (David's Batch Processor) is written in C++. Perhaps this would suit some of the needs of the original poster? Dave.
Since this bug-report is about naming files coming from a scanner, this feature should probably be implemented in the software that acquires the images. That would be the twain plug-in then.
Renaming summary to reflect comment #11.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gimp/issues/60.