On Mon, Feb 13, 2017 at 4:17 PM, Marius Dumitru Florea < [email protected]> wrote:
On Thu, Feb 9, 2017 at 4:58 PM, Sergiu Dumitriu <[email protected]> wrote:
On 02/09/2017 09:54 AM, Marius Dumitru Florea wrote:
On Thu, Feb 9, 2017 at 4:31 PM, Vincent Massol <[email protected]> wrote:
1) What are those 4 gifs doing? Do they require maintenance? Can we reduce their size?
Caty used a tool (I don't remember the name) to record the steps needed to perform some action (e.g. insert and edit a wiki macro through the WYSIWYG) as a GIF. Similar to what Guillaume did for http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/Data/XWiki/ 8.4.2/#HLocalizationSection . Now, I see that Guillaume's GIF is 400kb (compared to Caty's 2-3Mb) so maybe there's a way to generate smaller GIFs, but it may require reducing the quality. In any case, I think they are useful, but they do require maintenance..
gifsicle does lossless GIF optimization, give it a try.
It doesn't very help much. We have 6 GIFs between 1.7 and 5 MB, and 15.73 MB in total. After executing
gifsicle -O3 --no-extensions
the total size is reduced only by 0.16 MB, so we're still left with 15 MB of GIFs.
I'll try to optimize the images also, which take the rest of 7 MB.
With optimized GIFs and PNGs the size of the XAR is now 18.8 MB.
Thanks, Marius
-- Sergiu Dumitriu http://purl.org/net/sergiu