Problem with Quick Import Gif Frames

Started by stepsoversnails, Sun 28/11/2010 17:53:21

Previous topic - Next topic

stepsoversnails

I've been making all my animations in photoshop and then saving them as animated GIFs. Then after that using the Quick Import GIF frames function. It worked for the first thing i imported but now i'm trying to import my characters talking animation. When i import the GIF they import incorrectly. With some of the colours showing up transparent and alot of the frames being covered with a big black box. I've tried to figure it out myself and i've looked around on the forums. I can't find a solution. I've been importing them with the Fuchsia coloured background. I've also tried importing each frame one at a time which gave me the same result.
This is what most of the Sprites look like after being imported:


Khris

Could you post a file that didn't import correctly? Best the animated GIF.
Most likely, something is wrong with the file itself; without it we can't really help you.

Gilbert

I haven't recalled anyone having such problems, but because of the way how animated GIFs work, things like this may happen in case the animation was created such that subsequent frames only saved the changed information relative to their last frames, and the importer may not be able to handle all of these correctly.

You may try to unoptimise the animation and reimport it, and see if the problems persist. (I do not know about other software, but to do this in GIMP you choose  Filter -> Animation -> Unoptimise  in the right-click menu.)

monkey0506

#3
I was thinking the same thing, but if importing the frames one at a time resulted in the same thing then I'd actually guess that in Photoshop you are using some partial level of transparency..GIF only allows pixels to be totally transparent or totally opaque. Therefore any partially transparent pixels would be "flattened" upon saving to GIF format.

To be totally sure, you can try selecting "Layers -> Flatten Image" or something like that (I forget the exact menu names). If you see the same results, try and make sure that any transparent areas are in fact fully transparent (if you're using layer masks, ensure the mask is fully painted black where needed, and consider selecting to "Apply layer mask"; if you've erased/painted any areas of the image with the eraser mode set to "Brush" or using the Brush tool, this will leave behind artifacts in flattened images, so consider using "Pencil" mode/tool instead).

Edit: Just in that image I can actually see a lot of artifacts around the outline of the image, probably a result of partially erased/painted pixels..if you want smoother outlines in your images, you might even want to consider using PNG format which supports alpha channels..but I'd still recommend cleaning up those artifacts either way. :=

Khris

That's a screenshot saved as jpg, therefore the artifacts I guess.

SMF spam blocked by CleanTalk