It is currently Sat Jul 20, 2024 6:15 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 16 posts ] 
Author Message
 Post subject: Animation script request (SOLVED) thanks Ofnuts!
PostPosted: Fri Jun 22, 2012 1:09 pm  (#1) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14715
Location: USA
I thought there was a script that would
1) take all the layers of an XCF
2) duplicate them
3) stack them in reverse order and paste them back into the original xcf

Causing a ping-pong or reverse animation effect.

Example
Image

So far i can not find one that does this. My request is for a SCM or PYTHON script that will do this.

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


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: Animation script request
PostPosted: Fri Jun 22, 2012 1:42 pm  (#2) 
Offline
GimpChat Member
User avatar

Joined: Mar 23, 2012
Posts: 7316
Location: Göteborg at last!
It seems the most obvious animation script to produce but I've never come across one.


Top
 Post subject: Re: Animation script request
PostPosted: Fri Jun 22, 2012 1:49 pm  (#3) 
Offline
Global Moderator
User avatar

Joined: Nov 16, 2011
Posts: 5128
Location: Metro Vancouver, BC
If I remember correctly there was discussion, about a reverse order script like this, recently. Not sure about the duplicate part though. I'm on a mission now to find it.

ed., Have you looked at the extra options in the "Clone-Layer Tool".
http://registry.gimp.org/node/25422

_________________
Image
Gimp 2.8.18, Linux, median user
Gimp Chat Tutorials Index
Spirit Bear (Kermode)


Last edited by Odinbc on Fri Jun 22, 2012 1:54 pm, edited 1 time in total.

Top
 Post subject: Re: Animation script request
PostPosted: Fri Jun 22, 2012 1:52 pm  (#4) 
Offline
GimpChat Member
User avatar

Joined: Mar 23, 2012
Posts: 7316
Location: Göteborg at last!
There is a reverse layer script but it doesn't ping pong the animation.


Top
 Post subject: Re: Animation script request
PostPosted: Fri Jun 22, 2012 2:49 pm  (#5) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14715
Location: USA
I know it seems like it would be easy to implement but i have found nothing so far. :)
With the GIF i posted i had to
Name the XCF
Save it
Open it as a new image.
Reverse the layer order
Save it
Re open as layers into the first XCF file.

That could be scripted i think.

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Animation script request
PostPosted: Fri Jun 22, 2012 3:06 pm  (#6) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4757
mirror-layers here:

http://sourceforge.net/projects/gimp-to ... s/scripts/

Adds entry at bottom of "Image" menu. Duplicate all layers in reverse order on top of the existing ones.
It will not duplicate the top layer (come to think of it, it should also avoid duplicating the last, I think, tell me if that would be better).

_________________
Image


Top
 Post subject: Re: Animation script request
PostPosted: Fri Jun 22, 2012 3:18 pm  (#7) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
Thank you ofnuts.
I have a mirror-0.0.py and now this mirror-layers-0-0.py. These are different plug-ins aren't they?

_________________
Image


Top
 Post subject: Re: Animation script request
PostPosted: Fri Jun 22, 2012 3:34 pm  (#8) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14715
Location: USA
Thanks Ofnuts! :)

It works excellent. Great idea to not copy the top layer.
It seems to work cleaner without the last one also so if you want to have it do that it will be okay.
Image


I can't believe this isn't actually a menu item in default stack menus.

Thanks again!

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Animation script request
PostPosted: Fri Jun 22, 2012 3:35 pm  (#9) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4757
molly wrote:
Thank you ofnuts.
I have a mirror-0.0.py and now this mirror-layers-0-0.py. These are different plug-ins aren't they?
Must be, since I don't remember writing mirror-0.0.py and I just wrote mirror-layers-0-0.py...

_________________
Image


Top
 Post subject: Re: Animation script request
PostPosted: Fri Jun 22, 2012 3:37 pm  (#10) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14715
Location: USA
ofnuts wrote:
molly wrote:
Thank you ofnuts.
I have a mirror-0.0.py and now this mirror-layers-0-0.py. These are different plug-ins aren't they?
Must be, since I don't remember writing mirror-0.0.py and I just wrote mirror-layers-0-0.py...


Molly what does Mirror do? Reflection of another layer perhaps?

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Animation script request
PostPosted: Fri Jun 22, 2012 3:41 pm  (#11) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4757
Rod wrote:
It seems to work cleaner without the last one also so if you want to have it do that it will be okay.

Fixed in v0.1 :)

_________________
Image


Top
 Post subject: Re: Animation script request
PostPosted: Fri Jun 22, 2012 3:44 pm  (#12) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14715
Location: USA
ofnuts wrote:
Rod wrote:
It seems to work cleaner without the last one also so if you want to have it do that it will be okay.

Fixed in v0.1 :)


Thank you my friend. :)

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Animation script request (SOLVED) thanks Ofnuts!
PostPosted: Fri Jun 22, 2012 6:54 pm  (#13) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
I dont know Rod. All I know is I have that and also the one ofnuts just posted and they are both by him according to the site, they are next to each other on his list.
Image


Attachments:
mirror-0.0.py.7z [2.26 KiB]
Downloaded 87 times

_________________
Image
Top
 Post subject: Re: Animation script request (SOLVED) thanks Ofnuts!
PostPosted: Fri Jun 22, 2012 7:16 pm  (#14) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14715
Location: USA
That one is for mirroring paths Molly
http://registry.gimp.org/node/25986

But check this out :lol
Of all the days this could be posted at the registry. :)
http://registry.gimp.org/node/26525

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Animation script request (SOLVED) thanks Ofnuts!
PostPosted: Fri Jun 22, 2012 7:20 pm  (#15) 
Offline
GimpChat Member
User avatar

Joined: Mar 23, 2012
Posts: 7316
Location: Göteborg at last!
Rod wrote:
That one is for mirroring paths Molly
http://registry.gimp.org/node/25986

But check this out :lol
Of all the days this could be posted at the registry. :)
http://registry.gimp.org/node/26525


Nice one Rod. Very useful.


Top
 Post subject: Re: Animation script request (SOLVED) thanks Ofnuts!
PostPosted: Fri Jun 22, 2012 7:28 pm  (#16) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
Yes that is a coincidence. Thanks for the script Rod.

_________________
Image


Top
Post new topic Reply to topic  [ 16 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Made An Animated GIF With An Ofnuts Script

35

No new posts Attachment(s) Script request

3

No new posts Attachment(s) Outline Layer Contents by Ofnuts

2

No new posts Attachment(s) LED Animation from Animation Plug-in

6

No new posts My shameful n00b request for help

3


cron

* Login  



Powered by phpBB3 © phpBB Group