It is currently Fri Jul 24, 2026 4:32 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 27 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Trying to combine two gifs together
PostPosted: Wed Jun 01, 2016 8:52 am  (#21) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2610
Normally these temp files I use are in a ramdisk and vanish but as luck would have it, still have a gif ;)

It could be a duplicated frame(s) where you joined the 2 gifs.

I can not see anything much wrong.

Playback the gif: Filters -> Animation -> Playback Step through a-frame-at-a-time (1) until you come to the hiccup (2).

Attachment:
stepthrough.jpg
stepthrough.jpg [ 77.49 KiB | Viewed 1918 times ]


Check in the layers to see if the frames are identical (3) Toggle visibility on/off will show this.

The other possibility is a timing setting. If the frame has a larger timing value there will be a pause. (4)

edit:
If you want to play with my reconstituted gif before it really does vanish from my computer, popped it on my mediafire account
http://www.mediafire.com/download/bqyzs ... b01/04.gif 3.2 MB

Going back to earlier post, if you can provide the 2 original gif's you might get better advice.


Top
 Post subject: Re: Trying to combine two gifs together
PostPosted: Wed Jun 01, 2016 9:12 am  (#22) 
Offline
GimpChat Member

Joined: May 22, 2016
Posts: 14
Actually this is only one gif ^^" the 'two gifs' was from a question I had earlier.
I do have the original for that one though. Basically all I was trying to do was remove the background so I can lay it over stuff going on in the background.

Image

I don't think that's the original but its close. I have the original one still saved on my laptop.


Top
 Post subject: Re: Trying to combine two gifs together
PostPosted: Wed Jun 01, 2016 9:19 am  (#23) 
Offline
GimpChat Member

Joined: May 22, 2016
Posts: 14
https://youtu.be/ltwwhd23F_g?list=LLbOA ... u4_gSCARsw

This is close to what I'm aiming for.


Top
 Post subject: Re: Trying to combine two gifs together
PostPosted: Sat Jun 04, 2016 6:22 am  (#24) 
Offline
GimpChat Member
User avatar

Joined: Dec 26, 2014
Posts: 205
P-Chan wrote:
Actually this is only one gif ^^" the 'two gifs' was from a question I had earlier.
I do have the original for that one though. Basically all I was trying to do was remove the background so I can lay it over stuff going on in the background.

[ Image ]

I don't think that's the original but its close. I have the original one still saved on my laptop.

I had a couple of problems merging gif files when I started making animations, I got round these by creating all the layers to be worked on as .tif files, and saving blocks of these layers as .xcf files. I only create a gif as the last step in the process after merging blocks of .xcf files by using the script below

Attachment:
assemble-layers.scm [2.48 KiB]
Downloaded 105 times


located at Layer > Stack > Assemble for gif

I can’t say this is the correct or best way to make gifs but it works for me.

As an example, 3 blocks ( bg.xcf, plane.xcf and snowflakes.xcf ) each containing 12 layers are loaded into gimp, as shown in the screenshot ( the main image looks messy because the 12 snow and 12 plane layers are mostly transparent ).

When the script is run the user is prompted to enter the number of blocks (here 3), and the 36 layers are first shuffled into the correct positions and then merged down into 12 layers ready for saving. After saving as a gif file and run the result is as below

Ps If when the script is run the foreground colour in the toolbox changes to red, it means the number you entered will not divide equally into the number of layers and so the script cannot run

Attachment:
dialog mk3.jpg
dialog mk3.jpg [ 510.49 KiB | Viewed 1863 times ]


Attachment:
bg-plane-snow.gif
bg-plane-snow.gif [ 1.64 MiB | Viewed 1863 times ]


Top
 Post subject: Re: Trying to combine two gifs together
PostPosted: Sun Jun 12, 2016 12:31 am  (#25) 
Offline
GimpChat Member

Joined: May 22, 2016
Posts: 14
What do you mean by script? Also did you delete the layers that didn't have solid color?


Top
 Post subject: Re: Trying to combine two gifs together
PostPosted: Sun Jun 12, 2016 8:18 am  (#26) 
Offline
GimpChat Member
User avatar

Joined: Dec 26, 2014
Posts: 205
P-Chan wrote:
What do you mean by script?

A script is a list of commands or instructions, when the user runs a script the instructions are carried out. In gimp a script might modify the image in some way, for example adding a frame to the image or as in my script above re-arranging the layers.

Gimp comes with many pre-installed scripts that are ready to use, while some people write their own scripts to carry out specific tasks. The above script I wrote is designed to take the tedium out of first arranging and then merging dozens of layers when creating gifs.

To be able to use a .scm script that has been uploaded here, first it has to be downloaded to your computer, from where it is then either copied or dragged and dropped into your gimp script folder. Lastly to get gimp to recognize the script either close and reopen gimp or refresh the scripts by clicking on the menu bar > Filters > Script-Fu > Refresh Scripts

The script should now be installed in gimp ready for use, its location is made known by the script writer.

P-Chan wrote:
Also did you delete the layers that didn't have solid color?

No layers were deleted, the layers that didn't have solid colour were merged down into the solid backgrounds, as I've tried to show in the next post

Steve


Last edited by Steve on Sun Jun 12, 2016 3:17 pm, edited 2 times in total.

Top
 Post subject: Re: Trying to combine two gifs together
PostPosted: Sun Jun 12, 2016 9:34 am  (#27) 
Offline
GimpChat Member
User avatar

Joined: Dec 26, 2014
Posts: 205
P-Chan wrote:
Also did you delete the layers that didn't have solid color?

If you look at my first screen shot two posts back you will see 36 layers. The top 12 snow layers have a lot of transparency, the middle 12 plane layers also have a lot of transparency, whereas the bottom 12 background layers are solid with no transparency. When my script is run on this image of 36 layers it does two things, first it re-arranges the layers as shown below left with each solid background layer having two transparent layers placed above it, secondly it merges each pair of transparent layers into the solid background layer below them as shown below right. It is now saved as a .gif

Hope this helps

Steve
Attachment:
mk2.jpg
mk2.jpg [ 167.86 KiB | Viewed 1784 times ]


Top
Post new topic Reply to topic  [ 27 posts ]  Go to page Previous  1, 2

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group