Hi,
webp is a nice alternative to gif, especially when animated. I noticed up to 10x smaller files and it has more than 254 colors. (no dithering)
I wrote a script using python 3 + PIL to combine exported Images from grasshopper into one webp file.
Everything works so far, but there is a Problem with the export of the images: I used animation controller by @fraguada to generate the images but, during saving the image counter seems to reset and because this value is used to drive the gh animation nothing happens.
Has anyone an idea why this might be?
thanks!
To use install python, PIL
(old) webPmaker.gh (14.0 KB)
(old) webpMaker.py (1.1 KB)
disclaimer: be careful, the python script deletes the generated .pngs; hopefully nothing else
EDIT: this is the latest version which also ca export .gif:
webPmaker_v3.gh (23.1 KB)
webpMaker_v3.py (1.7 KB)