Re: [Tuxpaint-stamps] Reducing size of Tux Paint stamp files by optimising PNG files
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
|
From: Bill K. <nb...@so...> - 2014-06-30 00:59:11
|
I'm so behind on email, that I only just read this thread from March.
I'm happy to see a space reduction, and will keep an eye out for any
issues. It sounds like there should be no visible change, though! Thanks! :)
-bill!
On Sun, Jun 29, 2014 at 01:10:01PM +0200, Karl Ove Hufthammer wrote:
> Pere Pujal i Carabantes skreiv:
>
> >> OK. I???ve now done another run, where I don???t clean any fully transparent
> >> pixels. The savings are now 1.6 MiB (1.1 MiB for stamps and 0.5 MiB for
> >> Tux Paint itself). OK to commit?
> >
> > I can't see anything to opose, if my advice counts I would say go ahead
> > and commit :)
>
> OK. I???ve now commited the optimised PNG files. For the record, here???s the
> commands I used:
>
> find . -name '*.png' | while read fil
> do
> echo $fil
> wine /path-to-truepng/TruePNG.exe /zc9 /zm1-9 /zs0-3 /fe /na /i0 \
> $fil >/dev/null 2>/dev/null
> wine /path-to-truepng/PNGZopfli.exe $fil 50 >/dev/null 2>/dev/null
> mv ${fil%.png}.zopfli.png $fil >/dev/null
> done
>
> I used TruePNG v0.4.2.1 and PNGZopfli v1.2.
>
> --
> Karl Ove Hufthammer
> E-mail: ka...@hu...
> Jabber: hu...@ja...
>
>
> ------------------------------------------------------------------------------
> Open source business process management suite built on Java and Eclipse
> Turn processes into business applications with Bonita BPM Community Edition
> Quickly connect people, data, and systems into organized workflows
> Winner of BOSSIE, CODIE, OW2 and Gartner awards
> http://p.sf.net/sfu/Bonitasoft
> _______________________________________________
> Tuxpaint-stamps mailing list
> Tux...@li...
> https://lists.sourceforge.net/lists/listinfo/tuxpaint-stamps
--
-bill!
Sent from my computer
|