Post Reply 

script-fu undo

Jun 11, 2011, 11:53
Post: #1
script-fu undo
Hi all,

is there a procedure like ( gimp-image-undo image ) ?

What i'm trying to do is:

  1. load image
  2. do some operation to have a base of the image
    1. ( gimp-image-undo-group-start image )
    2. do some more operations with base image
    3. save this version of the image to filesytem
    4. ( gimp-image-undo-group-end image )
    5. ( gimp-image-undo image ) to get back to base

    1. ( gimp-image-undo-group-start image )
    2. do some more operations with base image
    3. save this version of the image to filesytem
    4. ( gimp-image-undo-group-end image )
    5. ( gimp-image-undo image ) to get back to base
  3. do other things


I'm using gimp in non-interactive mode.

Thanks in advance,
Hannes
Find all posts by this user
Quote this message in a reply
Jun 11, 2011, 13:25 (This post was last modified: Jun 11, 2011 13:26 by haah.)
Post: #2
RE: script-fu undo
Thx for the quick response.

Do you know if the python api is richer than the scheme/script-fu api?
I am completely python noob, nonetheless should i switch to the python api?

Waiting for your advices,
Hannes
Find all posts by this user
Quote this message in a reply
Jun 11, 2011, 15:12
Post: #3
RE: script-fu undo
Thank you for helping me!
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Create new images button & Save as override from Script-fu beniman 6 791 Sep 10, 2014 10:10
Last Post: beniman
  Undo History - how does it work? richardfarr 1 551 Mar 20, 2014 23:21
Last Post: richardfarr
  Line Script 2Old 6 847 Feb 6, 2014 18:50
Last Post: 2Old
  Script Fu Slandingo 1 921 Jun 14, 2013 20:26
Last Post: rich2005
  Gimp script SCM [Scale to/end at borders of] selection HalfNote5 4 1,154 Mar 15, 2013 00:49
Last Post: HalfNote5

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS