Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Color in gif got weird when combining multiple together
#1
Sad 
Hi folks! I was creating a gif of a product by taking separate gifs and stills of different product views and then combining them into one gif using GIMP (manipulating these as separate layers). But four of the gifs (taken with the program LICEcap) would have really messed up colors when I combined it with the others. I attached a .png of a still from one of those gifs.

For these four gifs, I first grabbed the gif using LICEcap, then I uploaded it to Canva to put the gif on a static background, and then I took that and loaded it into GIMP with the intention of combining each with other static images/gifs.

I was able to solve this by doubling up the "background" layer on the very first gif this was happening with; literally just making a copy of it. The other three I have not been able to resolve. I played around with making/removing the "background" layer of the gif as an alpha channel (though I don't fully understand this concept), but this did nothing. 

It's weird to me, because these gifs look totally normal on their own, and when I edit them on their own. It's only when I brought them into the final gif document to combine them that they got weird. 

I ended up using an online program (ezgif.com) to fix the issue, because I was on a time crunch. When I loaded the gifs that were problematic in GIMP onto ezgif, they did not display weirdly. However, going forward I want to use GIMP!

Any help and insights is greatly appreciated!


Attached Files Thumbnail(s)
   
Reply
#2
(11-18-2024, 06:00 PM)remyk Wrote: Hi folks! I was creating a gif of a product by taking separate gifs and stills of different product views and then combining them into one gif using GIMP (manipulating these as separate layers). But four of the gifs (taken with the program LICEcap) would have really messed up colors when I combined it with the others. ,,,,,,,snip.....

A gif file uses indexed colour, Up to 256 colours are saved with the image as a colormap. When you add a gif to another gif by File -> Open as Layers the second gif uses the colormap of the first and the colours change.

Until you get to know how things work, open each gif in turn, change the colour mode to RGB , Image -> Mode ->RGB Then Save each separately as a Gimp .xcf file.

Then you can combine the .xcf files as before.

When complete, and you export the new image as a gif animation, the mode is automatically converted to Indexed.
Reply


Forum Jump: