Post Reply 

Automating a Procedure

Jan 31, 2014, 09:11
Post: #16
RE: Automating a Procedure
@GreenRite
I do not know of a plug-in/script that does exactly what you require. There are some that offer alternative "save/export" procedures, no shorter at best, dangerous at worst.

Looking at your work flow, it seems the intention is
open image -> edit -> export to new location, preserving the original file unchanged.

You might be able to speed this up by reversing the sequence.
Bulk copy the original files to the new destination. (as Ofnuts suggestion)
Open the copied file
edit
Then instead of export there is an option to "overwrite..filename"

Of course this does not work for many instances, changing file name, changing file format and if using jpg format that pesky quality dialog might show.
but it is worth a thought.

** https://www.gimp-forum.net/ now answering questions**
Find all posts by this user
Quote this message in a reply
Jan 31, 2014, 11:46 (This post was last modified: Jan 31, 2014 12:05 by GreenRite.)
Post: #17
RE: Automating a Procedure
(Jan 31, 2014 09:11)rich2005 Wrote:  @GreenRite

Looking at your work flow, it seems the intention is
open image -> edit -> export to new location, preserving the original file unchanged.

You might be able to speed this up by reversing the sequence.
Bulk copy the original files to the new destination. (as Ofnuts suggestion)
Open the copied file
edit
Then instead of export there is an option to "overwrite..filename"

Yes, I need to repetitively open an image, edit, overwrite..filename, then open the next image and repeat. The suggestion to use "overwrite..filename" will mean a substantial decrease in clicks to do this part of the process. I have added two extra steps since, once the workflow begins, these steps will always go together. I'm restating them here:

Click: File
Click: Overwrite..filename
Click: Export (to accept the default settings in the quality dialogue box)
Click: File
Press: <Ctrl> <D> (or alternatively, Click: Close View; Click: Discard Changes)
Click: File
Click: Open

I'm hoping that these seven or eight steps can be automated into one double-click of a button at the top. Do you think a plugin can be made to automate these steps? If so, can you recommend someone I can contact to get this work done? As I said before, I can pay a reasonable amount. Or perhaps make a donation to the GIMP project, as I am very appreciative of being able to use this software.

Thanks,
Green
Find all posts by this user
Quote this message in a reply
Feb 1, 2014, 11:13
Post: #18
RE: Automating a Procedure
Does not look like any offers to write a bespoke script or plug-in.

My coding knowledge stopped with FORTRAN (1970) and then (onetime scorned by Ofnuts), PowerBasic in M$Dos days. Wink

What you could try is reassigning some of the keyboard shortcuts see:
http://docs.gimp.org/2.8/en/gimp-concept...tcuts.html

As an example, the operations Open, Overwrite, Close could go on the top row keys: q, w, e
Saves having to open the menus, so a few mouse clicks saved.

A quick video to show what it looks like.

http://www.youtube.com/watch?v=UgAN8uJ-Fqo&hd=1 2 minutes.

Just make sure you are working on copies of the files as discussed earlier.

** https://www.gimp-forum.net/ now answering questions**
Find all posts by this user
Quote this message in a reply
Feb 10, 2014, 14:09
Post: #19
RE: Automating a Procedure
(Feb 1, 2014 11:13)rich2005 Wrote:  What you could try is reassigning some of the keyboard shortcuts see:
http://docs.gimp.org/2.8/en/gimp-concept...tcuts.html

As an example, the operations Open, Overwrite, Close could go on the top row keys: q, w, e
Saves having to open the menus, so a few mouse clicks saved.

Thanks for the help on the keyboard shortcuts.

So my son is a web-site developer who works mainly in Wordpress and LAMP. He said that he would give writing a script/plugin in Python a go. But he's wondering if there is an existing script/plugin that kind of does some similar things that might give him an example of how the coding is done. Do you know of something that automates some of the mouse clicks / right clicks that would be necessary to automate this procedure (or other procedures)? Any help would be greatly appreciated!

Green
Find all posts by this user
Quote this message in a reply
Feb 13, 2014, 18:59 (This post was last modified: Feb 13, 2014 19:29 by GreenRite.)
Post: #20
RE: Automating a Procedure
(Feb 10, 2014 15:19)ofnuts Wrote:  PM me if you want my mail so that your son can ask me questions directly.

Thanks for the info and offer of help.

I'm going to repost here what I *think* is the complete procedure to do the editing required in GIMP.

Click: File
Click: Export As
Click: Local Disk H:
Double Click Folder Icon: DONE
Click: Export
Click: Export (to accept the default export values)
Click: File
Click: Close View
Click: Discard Changes
Click: File
Click: Open
<Wait While User Opens and Edits Next Image>
<On Click of Button> Loop Back to the Top

As you can see, I've switched back to using the Export feature rather than the Overwrite feature as I would like to avoid having to make the copies of the images that would be required to use Overwrite.

I'm going to email my son a link to this thread but I'm not sure how soon he will be able to get to it.

Thanks again for your help.

Green
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
Question miss the procedure how to ... Sebastian 1 198 Jan 27, 2018 16:41
Last Post: ythgilb
  Automating a bunch of quiz cards sponsen 2 795 Jan 9, 2013 00:34
Last Post: BilboMint

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS