It is currently Tue Jul 23, 2024 10:15 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Save incremental (aka Save +)
PostPosted: Wed Oct 08, 2014 11:36 pm  (#1) 
Offline
GimpChat Member
User avatar

Joined: Sep 22, 2012
Posts: 2089
Location: US
Save, Save As, Save a Copy seem to be hard-coded into the gimp core rather than assigned to the particular plugin(s).
If the document is saved at least once, [e.g. Filename.xcf] is it possible
to Save Incremental* [ Filename_01.xcf, Filename_02.xcf and so on] by a keystroke?
I suspect it takes the code intervention to have this functionality in gimp natively.
But what about a script/plugin to save incrementally without invoking the script window?
Is it possible at all?


*It is almost the same as Save a Copy, the only difference is each time a new file
is being written with _01;_02 suffix to the file name.
Some applications have this feature through a keyboard shortcut or Save+ toolbar button, which I think is very useful.
Fits my workflow perfectly, as I save my docs as Filename_Start, Filename_01, Filename_02, ...... Filename_Final.
Not that it's something I can't live without but anyway, any ideas?
Thank you.


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Save incremental (aka Save +)
PostPosted: Thu Oct 09, 2014 1:47 am  (#2) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4757
It wouldn't be very difficult to have a plugin running in the background but this would be useful when doing non-trivial work, which usually involves rather big XCF files, so you would need a lot a free disk space...

_________________
Image


Top
 Post subject: Re: Save incremental (aka Save +)
PostPosted: Thu Oct 09, 2014 9:07 am  (#3) 
Offline
GimpChat Member

Joined: Jul 11, 2010
Posts: 349
Rob A wrote a script "save as backup" that will save as

[imagename-ext]-YYYY-MM-DD-HH-MM.XCFGZ

I believe it is on th3e GIMP plugins site.


Top
 Post subject: Re: Save incremental (aka Save +)
PostPosted: Thu Oct 09, 2014 9:40 am  (#4) 
Offline
GimpChat Member
User avatar

Joined: Sep 22, 2012
Posts: 2089
Location: US
I've just installed it. Exactly what I was talking about except for the file suffix thing but
as long as it stocks the back up files in chronological order I don't care about the 01, 02 stuff.

Works great! I recommend it to everyone who works with big images.
You don't have to initiate the script at the beginning of each gimp session (like e.g. autosave_A plugin),
just assigned Alt-B keystroke and voila!

And it doesn't change the source file. Great script Rob! :tyspin
Thank you, bilbo, for pointing me in the right direction! :bigthup


Top
 Post subject: Re: Save incremental (aka Save +)
PostPosted: Thu Oct 09, 2014 10:02 am  (#5) 
Offline
GimpChat Member

Joined: Jul 11, 2010
Posts: 349
Glad that I could be of help to you!


Top
 Post subject: Re: Save incremental (aka Save +)
PostPosted: Thu Oct 09, 2014 11:51 am  (#6) 
Offline
Script Coder
User avatar

Joined: Jul 14, 2010
Posts: 697
You can change it to save as .xcf instead of .xcfgz if the compression is slowing things down. I was just more concerned about drive usage.

Also, it will only keep the last 5 backups and delete older ones. If you want to change this edit the line:
(maxbackups 5) ; Change this to define the number of backup files to keep!!!

setting it to 0 will make unlimited backups.

-Rob A>

_________________
Image
Fantasy Cartography and Mapping by RobA


Top
 Post subject: Re: Save incremental (aka Save +)
PostPosted: Thu Oct 09, 2014 12:13 pm  (#7) 
Offline
GimpChat Member
User avatar

Joined: Sep 22, 2012
Posts: 2089
Location: US
RobA wrote:
You can change it to save as .xcf instead of .xcfgz if the compression is slowing things down. I was just more concerned about drive usage.

Also, it will only keep the last 5 backups and delete older ones. If you want to change this edit the line:
(maxbackups 5) ; Change this to define the number of backup files to keep!!!

setting it to 0 will make unlimited backups.

-Rob A>


Thanks Rob, I changed it to 0 right after I installed it (thanks to the description on Gimp Plugin Registry).
Compressed xcf is fine, gimp saves and opens them without delay. The only problem with xcfgz is that the thumbnail
viewers can't generate the previews (using SageThumb).


Top
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Where did GIMP save my file, & how do I change default save location

5

No new posts Attachment(s) Help please to save an image

12

No new posts save images according to abc

1

No new posts How much you'd save with automation

0

No new posts Attachment(s) Save For Web Gimp 2.8 Windows

5



* Login  



Powered by phpBB3 © phpBB Group