|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
Any objection to 'pngout'?PNGOUT is a freeware (note: not currently open source!) optimizer for PNG images, written by the fellow who did the game engine behind Duke Nukem 3D. ( http://en.wikipedia.org/wiki/Pngout ) One of my coworkers (I'm in mobile game development, where small size is very important) highly recommends it. It seems to be doing a much better job than the Open Source alternatives I've tried ("pngcrush", which I had used before on many stamps; and "optipng"). Many files are dropping in size by about a K. Many aren't changing. Many are shrinking even more. The total size change looks like it will be 100s of KB, at least. (It's still going through the process very slowly, on a poor old dual-core laptop. :) ) Does anyone object to me using this? It's really more of a technical question, since I think pngcrush yanked some content out from 100% alpha pixels that undid some of Albert's work. I haven't noticed anything, though. (We don't exactly require that contributors use any particular software when creating stamps; e.g., take a photo, use some proprietary USB download/editor tool on Windows that came with their camera, then further editing in Adobe Photosop... that's all fine by me.) -- -bill! bill@... http://www.newbreedsoftware.com/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Tuxpaint-stamps mailing list Tuxpaint-stamps@... https://lists.sourceforge.net/lists/listinfo/tuxpaint-stamps |
|
|
Re: Any objection to 'pngout'?On Wednesday, February 27, 2008 at 1:08, Bill Kendrick wrote: > Does anyone object to me using this? No objections here. -- Dennis ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Tuxpaint-stamps mailing list Tuxpaint-stamps@... https://lists.sourceforge.net/lists/listinfo/tuxpaint-stamps |
|
|
Re: Any objection to 'pngout'?> Does anyone object to me using this? It's really more of a technical
> question, since I think pngcrush yanked some content out from 100% alpha > pixels that undid some of Albert's work. I haven't noticed anything, though. Fine by me. I found that optipng took loads off some stamps when I tried it (the letters and speech bubbles in particular) Caroline ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Tuxpaint-stamps mailing list Tuxpaint-stamps@... https://lists.sourceforge.net/lists/listinfo/tuxpaint-stamps |
|
|
Re: Any objection to 'pngout'?Hi Bill,
> PNGOUT is a freeware (note: not currently open source!) optimizer for > PNG images, written by the fellow who did the game engine behind Duke Nukem 3D. > ( http://en.wikipedia.org/wiki/Pngout ) > Does anyone object to me using this? I have no objections. I think that you should add a step to use pngout or pngcrush in the developer docs so that the shrinking process is not lost in this mailing list. Along the same topic of reducing the file size of the stamps, is it necessary to create a PNG file when creating content from SVG, or can the SVG file be used stand alone? Best Regards, Steve -- http://steve.kargs.net/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Tuxpaint-stamps mailing list Tuxpaint-stamps@... https://lists.sourceforge.net/lists/listinfo/tuxpaint-stamps |
|
|
Re: Any objection to 'pngout'?On Wed, Feb 27, 2008 at 11:27:05AM -0600, Steve Karg wrote:
> I have no objections. I think that you should add a step to use > pngout or pngcrush in the developer docs so that the shrinking process > is not lost in this mailing list. Good idea. > Along the same topic of reducing the file size of the stamps, is it > necessary to create a PNG file when creating content from SVG, or can > the SVG file be used stand alone? SVGs can be stand-alone. If both a PNG and SVG exist, the SVG will be prefered by Tux Paint. (Of course, if the version of Tux Paint that's being used doesn't support SVG, it won't even notice them, and will pick up the PNG version.) -- -bill! bill@... http://www.newbreedsoftware.com/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Tuxpaint-stamps mailing list Tuxpaint-stamps@... https://lists.sourceforge.net/lists/listinfo/tuxpaint-stamps |
|
|
Re: Any objection to 'pngout'?El dc 27 de 02 del 2008 a les 01:08 -0800, en/na Bill Kendrick va
escriure: > Many files are dropping in size by about a K. Many aren't changing. > Many are shrinking even more. > > The total size change looks like it will be 100s of KB, at least. > (It's still going through the process very slowly, on a poor old > dual-core laptop. :) ) > You can get even less size by lossy editing some files and then recompressing them, for colorable files tuxpaint just needs the alpha channel, you can drop the main draw, some of them like symbols/shapes/pawprint.png are as this, others like symbols/alphabets/asl/asl_a.png can be reedited: Close any gimp instance and run gimp -i\ -b '(gimp-file-load 0 "symbols/alphabets/asl/asl_a.png" "sometext")'\ -b '(gimp-layer-create-mask 2 ADD-ALPHA-TRANSFER-MASK)'\ -b '(gimp-layer-add-mask 2 3)'\ -b '(gimp-image-set-active-layer 1 2)'\ -b '(gimp-selection-all 1)'\ -b '(gimp-edit-fill 2 0)'\ -b '(gimp-layer-remove-mask 2 0)'\ -b '(file-png-save2 TRUE 1 2 "processed.png" "processed.png" FALSE 9 FALSE TRUE FALSE TRUE FALSE FALSE FALSE)'\ -b '(gimp-quit 0)' stat -c %s symbols/alphabets/asl/asl_a.png processed.png 7190 1603 Have you tried the maximun optipng search? (not recomended by the author) optipng -zc1-9 -zm1-9 -zs0-3 -f0-5 processed.png stat -c %s symbols/alphabets/asl/asl_a.png processed.png 7190 1518 It's a big gain for a little file yet compressed. BTW, many of symbols in alphabets don't have antialias, and look sharped at original sizes, adding antialias will make the stamps a little bigger. Some other files (not colorable) like mandarine still have the original background, so they are taking unusefull space, but this means individual editing them, colorable are more friendly for bash scripting. > Does anyone object to me using this? It's really more of a technical > question, since I think pngcrush yanked some content out from 100% alpha > pixels that undid some of Albert's work. I haven't noticed anything, though. At least firemans are fine, now I am trying to modify my script to allow batch processing for yet created stamps, and to not grow up so many the size of the processed stamps, but the results should be tested individually. Yours Pere ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Tuxpaint-stamps mailing list Tuxpaint-stamps@... https://lists.sourceforge.net/lists/listinfo/tuxpaint-stamps |
| Free embeddable forum powered by Nabble | Forum Help |