In [changeset:"71482" 71482]:
{{{
#!CommitTicketReference repository="" revision="71482"
pythonlib: add PIL native implementation available since Pillow 3.4.0, see #3367 (merge r71258 from trunk)
}}}
Replying to [comment:17 martinl]:
> Replying to [comment:16 veroandreo]:
> > Tested here having python2-pillow-3.4.2-1. Now, it works, but as you
say the GIF doesn't look so good in terms of definition of the images.
They look noisy, as when you increase ISO in the camera.
>
> I can confirm it. I have `python-pil 4.2.1-1`. See attachment:noisy.gif
created by
>
> {{{
> import os
> from PIL import Image
> from grass.imaging import writeGif
>
> color_path = os.path.join(os.environ['GISBASE'], "docs", "html",
"colortables")
> pil_images = [Image.open(os.path.join(color_path, c)) for c in
os.listdir(color_path)]
> writeGif('/tmp/test.gif', pil_images, duration=0.2, repeat=True)
> }}}
>
>
Could you test r71485? I used quantize function and it seems better.