Page 1 of 1

Is it possible to improve on this Gif?

Posted: 2017-09-12T02:24:53-07:00
by nigelgardiner
Hi There

I've just started playing with the Gif format to see if I can use it to hold short animated sequences of rendered rotating labels.

This is what I have http://www.nigelgardiner.co.nz/2017/09/ ... -cg-label/

The frames were generated at 25fps so this is the convert I used convert -delay 0.25 -loop 0 *.png sass.gif

My main concern is the noise? in the shadows, so I was wondering is there a way to improve on this?

Any advice much appreciated.

I'm running ImageMagick 6.8.9-9 on Ubuntu.

thanks
Nigel.

Re: Is it possible to improve on this Gif?

Posted: 2017-09-12T08:58:02-07:00
by fmw42
I don't see much problem. But if you think there is, then the reason may be that your pngs have more than 256 colors and each frame is different. Gifs only hold 256 colors max and each frame probably is quantized differently. One way to try to improve that would be to make each frame have the same <=256 colors. See -remap (using -dither none) at http://www.imagemagick.org/Usage/quantize/#remap on each frame from the same (<=256 color) colormap image. Then combine them into your gif.

Re: Is it possible to improve on this Gif?

Posted: 2017-09-12T13:47:05-07:00
by nigelgardiner
Hi

Ok, thanks, I'll try reducing the colors and see if the color range reduction is significant.

cheers
Nigel.

Re: Is it possible to improve on this Gif?

Posted: 2017-09-12T14:51:11-07:00
by fmw42
You must use the very same color table image to remap all the images to the same colors, not just the same number of colors.