Re: [Gimp-developer] Fast-painting using the undo stack

2011-08-09 Thread saulgoode
Quoting Uri Simchoni :

> As far as I can tell, both these ideas cannot be implemented as  
> plugins (I cannot duplicate the layers every n milliseconds with a  
> plugin, I cannot modify the undo behavior of basic painting tools,  
> and I cannot play the undo stack with a plugin) Is that correct?
> Any comments on this, as well as pointers to the code, will be  
> appreciated.Thanks in advance,Uri Simchoni

Yes, you are correct. Personally, I think that Recordmydesktop would  
be the best solution (cropping out undesirable elements), however, I  
have written a Script-fu which somewhat alleviates the problem of not  
being able to "replay" the UNDO history. The script is rather simple  
and merely adds a command to the File menu which saves a time-stamped  
snapshot of the current state of the image. This allows you to step  
through the UNDO history, saving a snapshot at each step.

https://chiselapp.com/user/saulgoode/repository/script-fu/wiki?name=sg-snapshot

___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Fast-painting using the undo stack

2011-08-08 Thread Chris Mohler
On Mon, Aug 8, 2011 at 2:18 PM, Uri Simchoni  wrote:
> I'd like to know whether I'm inventing something that's already invented, 
> discuss possible implementation strategies, and ask for pointers on how to 
> start

(gtk)recordmydesktop can be configured to record only a certain area
of the screen and ignore the cursor/mouse:
http://recordmydesktop.sourceforge.net/about.php

Chris
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


[Gimp-developer] Fast-painting using the undo stack

2011-08-08 Thread Uri Simchoni

Hi,
I'm looking for a way to implement a fast-painting animation using GIMP.What 
I'd like to achieve is a tool that allows the artist to just paint, and with a 
press of a button produce a video of the painting process. I'm looking for 
solutions that integrates with the painting program, because screen-capture 
programs display things (toolboxes, mouse) which I don't want to appear in the 
final video.
I'd like to know whether I'm inventing something that's already invented, 
discuss possible implementation strategies, and ask for pointers on how to 
start.One idea I had was to use "duplicate layer" every n milliseconds (or on 
mouse movement, after n milliseconds have passed), then save each layer as an 
image and create the video out of these images.
Another idea is to make an undo point every n milliseconds, then play the undo 
stack and save each step. I suppose it will take less memory than the first 
idea, which does not seem like a a scalable one.
As far as I can tell, both these ideas cannot be implemented as plugins (I 
cannot duplicate the layers every n milliseconds with a plugin, I cannot modify 
the undo behavior of basic painting tools, and I cannot play the undo stack 
with a plugin) Is that correct?
Any comments on this, as well as pointers to the code, will be 
appreciated.Thanks in advance,Uri Simchoni
  
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer