Page 1 of 2

PngOptimizer - easy image compression

Posted: Sun Apr 01, 2007 12:14 am
by Replika
PngOptimizer is a tool used to optimize and clean PNG files. It also converts BMP and GIF files into optimized PNG files.

PngOptimizer also converts into PNG a picture stored in the Windows clipboard, like a screenshot.

This software is freeware and works on Windows 98/Me, Windows 2000 and Windows XP (including XP SP2). An independent command line version called PngOptimizerCL is also provided.
Website: http://psydk.org/PngOptimizer
Screenshot: http://psydk.org/gfx/PngOptimizer15.png
Download: http://psydk.org/download/PngOptimizer-1.54.zip

Posted: Mon Apr 02, 2007 6:06 am
by Andrew Lee
Unfortunately, this one writes settings to the registry:

Code: Select all

HKU\S-1-5-21-329068152-343818398-725345543-1001\Software\Darken Utilities\PngOptimizer\BackupOldPngFiles: 01
HKU\S-1-5-21-329068152-343818398-725345543-1001\Software\Darken Utilities\PngOptimizer\AvoidGreyWithSimpleTransparency: 01
HKU\S-1-5-21-329068152-343818398-725345543-1001\Software\Darken Utilities\PngOptimizer\KeepInterlacing: 01
HKU\S-1-5-21-329068152-343818398-725345543-1001\Software\Darken Utilities\PngOptimizer\KeepBackgroundColor: 00
HKU\S-1-5-21-329068152-343818398-725345543-1001\Software\Darken Utilities\PngOptimizer\WndX: 0x00000025
HKU\S-1-5-21-329068152-343818398-725345543-1001\Software\Darken Utilities\PngOptimizer\WndY: 0x0000017D
HKU\S-1-5-21-329068152-343818398-725345543-1001\Software\Darken Utilities\PngOptimizer\WndWidth: 0x00000131
HKU\S-1-5-21-329068152-343818398-725345543-1001\Software\Darken Utilities\PngOptimizer\WndHeight: 0x0000012C
HKU\S-1-5-21-329068152-343818398-725345543-1001\Software\Darken Utilities\PngOptimizer\ShotUseDefaultDir: 01
HKU\S-1-5-21-329068152-343818398-725345543-1001\Software\Darken Utilities\PngOptimizer\ShotCustomDir: ""

Posted: Thu Apr 05, 2007 9:45 am
by Hadrien
Hi,

I'm the author of PngOptimizer. Thanks for the post.

Andrew Lee, would you prefer PngOptimizer to store its settings into a configuration file, likely to be located in the same folder than the application ?

Posted: Fri Apr 06, 2007 2:52 am
by Andrew Lee
Yes please, that's the whole idea!

There are typically two solutions to this problem:

1) Write settings to EXE folder if empty INI file is present, or write settings to user profile folder if not. This enables your app to continue supporting the multi-user scenario.

2) Create two versions: one non-portable, one portable.

Posted: Fri Apr 06, 2007 8:39 am
by Hadrien
Andrew Lee, thank you for your reply, this sounds sensible to me. I think I will do that for the next version.

Posted: Fri Apr 06, 2007 12:01 pm
by theboydanny
Andrew Lee wrote: 1) Write settings to EXE folder if empty INI file is present, or write settings to user profile folder if not. This enables your app to continue supporting the multi-user scenario.
If I might add to that, writing settings to an INI file in the EXE folder has (my personal...) preference, since it saves the hassle of searchin/copying/pasting/resetting etc my personal settings each time I switch computers.

Nice software by the way. I'm always looking for little tools to strip bytes from images for display on the web. Awaiting the portable version... ;)

Posted: Tue Apr 10, 2007 3:22 am
by Alexander
Is there any comparison of PngOptimizer with tiny pngcrush.exe?

version 1.6 out

Posted: Tue Apr 17, 2007 1:25 pm
by webfork
Since the author said they would try to fix this, could someone check and see if it qualifies as portable now?

Re: version 1.6 out

Posted: Tue Apr 17, 2007 2:38 pm
by theboydanny
webfork wrote:Since the author said they would try to fix this, could someone check and see if it qualifies as portable now?
Well there arn't any register-entries anymore (regshot, but I might have blown that, there was a process running on the background that I had forgotten about...), settings are now stored in a .ini file, since v1.6. The ini is however stored in the %APPDATA% folder and not in the PngOptimizer folder... I'd like to have it in the PngOptimizer folder itself...
NB I didn't compare to pngcrush.exe.

Posted: Tue Apr 17, 2007 10:11 pm
by Hadrien
Hi,

I implemented Andrew Lee's solution 1) in PngOptimizer 1.6.

So just create an empty PngOptimizer.ini (or copy the one from %APP_DATA%) in the EXE folder and PngOptimizer will use that one.

Posted: Wed Apr 18, 2007 4:51 am
by theboydanny
Hadrien wrote:Hi,

I implemented Andrew Lee's solution 1) in PngOptimizer 1.6.

So just create an empty PngOptimizer.ini (or copy the one from %APP_DATA%) in the EXE folder and PngOptimizer will use that one.
Great! Thanks, also for this little gem. It's simple to use and does a great job.

Posted: Wed Apr 18, 2007 6:44 am
by AlephX
Hi! I tested it with regshot and works fine!
I think that it has to be added to the COllection for sure!

Posted: Fri Apr 20, 2007 1:32 am
by peteq
Tried out PngOptimizer v1.6 for the first time yesterday - very neat, thank you Hadrien. I liked, from a user's point of view, the default of copying, then overwriting the original PNGs; this is exactly how one would do it manually, but you've automated it.

Here's the question (isn't there always a user who wants more?): is it possible to have an option to retain the date stamp of the original file?

Re: PngOptimizer

Posted: Wed Aug 05, 2009 7:30 am
by panting portable
i see on the authors site we are now at 1.8 but there was not menton on the site of it being portable, is it still?
got it now, by the way sometimes it makes my png smaller and sometimes bigger, it varies!

Re: PngOptimizer

Posted: Wed Aug 05, 2009 12:17 pm
by Checker
PngOptimizer is with V1.8 in the database.
See :!: