Photoshop: Flickering gif animation

  • 1
  • Question
  • Updated 4 months ago
  • (Edited)
I made the graphics in Illustrator CC2018 on different artboards > exported all the artboards as
separate JPGs. In Photoshop (CC2018, newest update in April) I did then the following:
Files > Script > Open Files into Stack. Then I did 'Create frame animation'> Make frames from layers.

When I play the animation it flickers. The animation consists of graphic elements and non-moving text. The text in particular is flickering a lot.

I already tried to change the specs of the single frames: into "Dispose" "Do not dispose".
Unfortunately it didn't change anything.
When I save it as a gif animation and preview it in Firefox, it is still flickering.

What is the problem?
Photo of G Schuller

G Schuller

  • 2 Posts
  • 0 Reply Likes

Posted 4 months ago

  • 1
Photo of Rob Rippengale

Rob Rippengale

  • 77 Posts
  • 50 Reply Likes
I haven't made animated GIFs for a while and can't help with the precise settings or procedure, but there is a huge theoretical problem using JPGs as the intermediate step. A particular pixel in each of those JPGs might have a different color due to the way JPG compresses the image into blocks and pixels might end up twinkling in the final GIF. GIF uses a palette to store a limited range of colors, so that transformation might not be reliable when using JPGs with slightly different colors. The best method is probably to use an intermediate series of non-animating GIFs that are all given the exact same palette during export. But maybe that's hard to do, so at least use a non-compressed format for the intermediate images, like PNG or TIFF, so there are no unnecessary color changes frame to frame in the intermediate files.
(Edited)
Photo of G Schuller

G Schuller

  • 2 Posts
  • 0 Reply Likes
I made tests with JPGs, GIFs and TIFFs, but the flickering was still there.
What I did now is redrawing everything in Photoshop – very annoying, but at least it's working.
Photo of Rob Rippengale

Rob Rippengale

  • 77 Posts
  • 50 Reply Likes
Congratulations. Any solution is better than none. I just played around with the Photoshop GIF creator again and there's not a lot of control there.

[edit] - I mean, not a lot of control for how the colors will be stuffed into a palette. There is good control for timing individual frames, and dispose or not. Generating a palette from a wide color scheme with subtle shading is not a trivial process, so I don't know how that might be given controls.
(Edited)