It is currently Sun Jun 30, 2024 3:35 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: 2 gif, 1 background, different speeds
PostPosted: Mon Jul 19, 2021 2:47 pm  (#1) 
Offline
New Member
User avatar

Joined: Jul 19, 2021
Posts: 4
GIMP Version: 2.10.24
Operating System: Windows
OS Version: 10
GIMP Experience: Basic Level



I have a still background image (1920x1080) that I would like to add 2 gif animations at different speeds (both are 1920x1080). How do I proceed?

Gif # 1: 4 Frames (600ms each)

Gif # 2: 4 Frames (200ms each)

Please keep in mind I am great at following instructions but I am terrible in math and tend to get lost and confused very easily when it comes to numbers. If someone can please explain to me in layman's terms it would be appreciated.


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: 2 gif, 1 background, different speeds
PostPosted: Mon Jul 19, 2021 3:30 pm  (#2) 
Offline
New Member
User avatar

Joined: Jul 19, 2021
Posts: 4
Problem solved. Thanks anyway, but I figured it out. Look at me doing basic math on my own! lol


Top
 Post subject: Re: 2 gif, 1 background, different speeds
PostPosted: Mon Jul 19, 2021 6:25 pm  (#3) 
Offline
GimpChat Member
User avatar

Joined: Nov 04, 2015
Posts: 1365
Hi -NiHiLiSTiK. Great nick and welcome to here.

You don't have to do any math to do this. Put your background below the other movement frames and Filters > Animation > Combine background. The frames must have an 'eye' symbol in the frames box. Thats it.


Top
 Post subject: Re: 2 gif, 1 background, different speeds
PostPosted: Tue Jul 20, 2021 3:32 am  (#4) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2435
Tas_mania wrote:
Hi -NiHiLiSTiK. Great nick and welcome to here.

You don't have to do any math to do this. Put your background below the other movement frames and Filters > Animation > Combine background. The frames must have an 'eye' symbol in the frames box. Thats it.


I do not think it is as easy as that ;)

4 layers @ 600 = 2400
4 layers @ 200 = 800

Lowest common timing factor is 200 so you need 2400 / 200 = 12 layers @ 200

That is 3 cycles of the 200 animation merged with 1 cycle of the 600 animation. That is 12 layers of the 600 animation @ 200 (layer 1 x3 + layer2 x3 + layer3 x 3 + layer4 x3)

Then the background layer added to the 12 layers.

Attachment:
ani-opt.gif
ani-opt.gif [ 54.88 KiB | Viewed 5554 times ]

_________________
Image


Top
 Post subject: Re: 2 gif, 1 background, different speeds
PostPosted: Tue Jul 20, 2021 3:57 am  (#5) 
Offline
GimpChat Member
User avatar

Joined: Nov 04, 2015
Posts: 1365
I can recommend "Rename Layers.py" I use it to set any speed I want on a layer series.

Image


I'm pretty sure this is the version I'm using:


Attachments:
RenameLayersPy.zip [661 Bytes]
Downloaded 142 times
Top
 Post subject: Re: 2 gif, 1 background, different speeds
PostPosted: Tue Jul 20, 2021 12:22 pm  (#6) 
Offline
New Member
User avatar

Joined: Jul 19, 2021
Posts: 4
rich2005 wrote:
Tas_mania wrote:
Hi -NiHiLiSTiK. Great nick and welcome to here..


Thanks!

I do not think it is as easy as that ;)

4 layers @ 600 = 2400
4 layers @ 200 = 800

Lowest common timing factor is 200 so you need 2400 / 200 = 12 layers @ 200

That is 3 cycles of the 200 animation merged with 1 cycle of the 600 animation. That is 12 layers of the 600 animation @ 200 (layer 1 x3 + layer2 x3 + layer3 x 3 + layer4 x3)

Then the background layer added to the 12 layers.

Attachment:
ani-opt.gif



Mind Blown! See .... math :/

But thanks for the replies ... Now what if I want to add 5 gifs total? (lol I'm joking, I wouldn't even want to try) :D


Top
 Post subject: Re: 2 gif, 1 background, different speeds
PostPosted: Tue Jul 20, 2021 5:02 pm  (#7) 
Offline
GimpChat Member
User avatar

Joined: Dec 09, 2018
Posts: 656
Nice explanation rich2005 :coolthup

-NiHiLiSTiK wrote:
Now what if I want to add 5 gifs total? (lol I'm joking, I wouldn't even want to try) :D

I don't blame you. I think I got up to about 11 with the one linked to below and it was a headache. The lesson I learnt is not to do it again :hehe

viewtopic.php?f=25&t=18337#p250731


Top
 Post subject: Re: 2 gif, 1 background, different speeds
PostPosted: Tue Jul 20, 2021 5:56 pm  (#8) 
Offline
GimpChat Member
User avatar

Joined: Nov 04, 2015
Posts: 1365
I misunderstood the question - I didn't realize you wanted to merge gifs.
Of course a gif can only have one speed so as rich detailed you need to add frames.

When you get permission from GC why not post the gif here? I think the physical size (1920x1080) may make the gif too large but scaling is easy.


Top
 Post subject: Re: 2 gif, 1 background, different speeds
PostPosted: Wed Jul 21, 2021 3:30 am  (#9) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2435
teapot wrote:
Nice explanation rich2005 :coolthup

-NiHiLiSTiK wrote:
Now what if I want to add 5 gifs total? (lol I'm joking, I wouldn't even want to try) :D

I don't blame you. I think I got up to about 11 with the one linked to below and it was a headache. The lesson I learnt is not to do it again :hehe

viewtopic.php?f=25&t=18337#p250731


Nice animation.

Did this one time when tedium took over and ran out of worthwhile things to do.

https://i.imgur.com/9BrxuzA.gif

_________________
Image


Top
 Post subject: Re: 2 gif, 1 background, different speeds
PostPosted: Wed Jul 21, 2021 10:08 am  (#10) 
Offline
New Member
User avatar

Joined: Jul 19, 2021
Posts: 4
teapot wrote:
I think I got up to about 11 with the one linked to below and it was a headache. The lesson I learnt is not to do it again :hehe


lol ya that's above my paygrade ... very cool gif tho!

Tas_mania wrote:
When you get permission from GC why not post the gif here? I think the physical size (1920x1080) may make the gif too large but scaling is easy.


I don't think I can post yet but honestly it's nothing special. I own an arcade machine that I customized the bottom front cabinet with a vertical screen. I wanted to make a simple gif wallpaper where the coin slots blink and the key on the change door bumps around as if someone is playing with the machine. (I have a video but can't post links neither it turns out lol) :gaah

rich2005 wrote:
Did this one time when tedium took over and ran out of worthwhile things to do.


I laughed when the dog lifted his leg lol .. nice one!


Top
 Post subject: Re: 2 gif, 1 background, different speeds
PostPosted: Wed Jul 21, 2021 9:10 pm  (#11) 
Offline
GimpChat Member
User avatar

Joined: Dec 09, 2018
Posts: 656
rich2005 wrote:
Did this one time when tedium took over and ran out of worthwhile things to do.

https://i.imgur.com/9BrxuzA.gif

Good one :hehe

-NiHiLiSTiK wrote:
I don't think I can post yet but honestly it's nothing special. I own an arcade machine that I customized the bottom front cabinet with a vertical screen. I wanted to make a simple gif wallpaper where the coin slots blink and the key on the change door bumps around as if someone is playing with the machine. (I have a video but can't post links neither it turns out lol) :gaah

That sounds interesting, you should be able to post images and links once you've made five posts.


Top
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Background patterns

3

No new posts Attachment(s) background generator

2

No new posts Attachment(s) how could i make this background

7

No new posts Attachment(s) Background or Wallpaper

1

No new posts Background remover works no more?

1



* Login  



Powered by phpBB3 © phpBB Group