Closed Tsarpf closed 9 years ago
actually just show first frame of gifs on disco. mouseover to start playing gif from original website
initial tests of converting png and jpg formats:
png -> convert Big\ Ben.png -colors 256 -quality 90 -depth 8 bigben.png jpg -> convert -strip -interlace Plane -gaussian-blur 0.05 -quality 85% source.jpg result.jpg
they decreased some test picture sizes by at least half. good enough methinks.
This was using imagemagicks commandline command convert
use this in the actual implementation http://aheckmann.github.io/gm/
mostly done in image-download branch (except for gif mouseover playing)
https://github.com/Tsarpf/Tsatter/issues/77 and gif-mouseover-play has it's own issue
Convert gifs to webm and make smaller thumbnails of images. This should decrease discovery page load a lot