Re: Replacing the animal photos in the ‘erase’ activities
Johnny Jazeix
jazeix at gmail.com
Sun Feb 20 17:35:04 GMT 2022
Branch work/webp.
The conversion seems to have moved the images a little bit, it should be
fixable by updating the coordinates.
I tested on Windows and Linux.
The plugin was already shipped, so we don't even lose the 500ko of it.
Cheers,
Johnny
Le dim. 20 févr. 2022 à 17:57, Timothée Giet <animtim at gmail.com> a écrit :
> Using webp images would surely help :)
> Even using it with some level of lossy compression would probably be
> acceptable.
>
> But first thing before moving to it, is to make sure we can package it
> and make it work fine for all our supported platforms.
>
> @Johnny: when you have some time, can you setup a test branch with
> what's needed in cmake to get webp support packaged, along with a few
> images converted to it ?
> Then I'll try to make test packages for all platforms. And if all works
> good, I'll do further encoding tests to decide which options to use.
>
> @Karl: once we get positive test results with webp, I'll let you know
> and you'll be welcome to update those photos :)
>
> Side note: it's a bit late for next week's 2.2 release, but if all works
> good it could be a nice feature to include later in 2.3.
>
> Cheers,
> Timothée
>
> Le 20/02/2022 à 16:48, Johnny Jazeix a écrit :
> > Hi,
> >
> > Regarding these images (and the other ones in paintings that also take
> > some place), could it be worth to look at webp format?
> > The Qt image plugin is ~500ko.
> > For paintings, we go from 9.1Mo to 6.6Mo using `magick $f -quality 100
> > -define webp:lossless=true $f.webp` which should be lossless so just
> > with it, the size should be better.
> > We can even go to 1.9Mo if we use a quality of 90 (but a bit lossless,
> > I can't tell if it is visible or not).
> >
> > For jpg ones in erase, if I do ` magick $f -quality 50 $f.webp`, I
> > manage to go from 5.3Mo to 2.3Mo.
> > If I keep quality to 100 or do a lossless=true, size goes up to 20Mo,
> > so not interesting.
> >
> > Maybe some options from https://imagemagick.org/script/webp.php
> > <https://imagemagick.org/script/webp.php> could be interesting too.
> >
> > Cheers,
> >
> > Johnny
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/gcompris-devel/attachments/20220220/8f1b59ce/attachment.htm>
More information about the GCompris-devel
mailing list