ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > N.A.N.Y. 2015

NANY 2015 Pledge: apng2gif and webp2gif

(1/1)

vlastimil:
Hi all,

The web-designers among you already know that using an animated asset in your web page design is a pain. We have GIF (supported by all browsers, but limited to 256 colors and 1bit transparency), animated PNG (supported by Firefox) and animated WebP (supported by Chrome).

If you actually want to have an animation with semi-transparency (smooth edges, something appearing or smoothly changing from one thing to another thing, ...) on your web page, you have a big problem. You have to serve different files to each browser.

Earlier this year, I made some command line tools for batch-converting gifs to animated pngs and webps and now I am thinking the opposite direction may actually be more useful. The scenario I am imagining is this:
* you create your animations in WebP or animated PNG using full colors and smooth transparency
* you run a command that coverts all WebP or PNG files to GIFs and places them into the same folders <- that would be the NANY
* you use browser-specific CSS hacks (or PHP) to serve the right files for the user's browser
* profit (max. quality of your design for as many people as possible)

So, what do you think, is it worth doing? Would you use it?

mouser:
i don't have an opinion on this but i just wanted to say it brings me happiness to hear from you.  :Thmbsup:

vlastimil:
Thanks. I have been a bit distracted during the last year and did not have that much time and missed the last NANY. I hope things will bet better now.

Navigation

[0] Message Index

Go to full version