PngOptimizer - easy image compression

Submit portable freeware that you find here. It helps if you include information like description, extraction instruction, Unicode support, whether it writes to the registry, and so on.
Message
Author
Replika
Posts: 18
Joined: Sun Oct 29, 2006 9:15 am

PngOptimizer - easy image compression

#1 Post 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

User avatar
Andrew Lee
Posts: 3052
Joined: Sat Feb 04, 2006 9:19 am
Contact:

#2 Post 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: ""

Hadrien
Posts: 3
Joined: Thu Apr 05, 2007 9:42 am

#3 Post 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 ?

User avatar
Andrew Lee
Posts: 3052
Joined: Sat Feb 04, 2006 9:19 am
Contact:

#4 Post 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.

Hadrien
Posts: 3
Joined: Thu Apr 05, 2007 9:42 am

#5 Post by Hadrien »

Andrew Lee, thank you for your reply, this sounds sensible to me. I think I will do that for the next version.

theboydanny
Posts: 18
Joined: Sat Mar 24, 2007 5:52 am
Location: Utrecht, Netherlands

#6 Post 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... ;)

User avatar
Alexander
Posts: 38
Joined: Sun Aug 13, 2006 8:45 am
Contact:

#7 Post by Alexander »

Is there any comparison of PngOptimizer with tiny pngcrush.exe?

User avatar
webfork
Posts: 10818
Joined: Wed Apr 11, 2007 8:06 pm
Location: US, Texas
Contact:

version 1.6 out

#8 Post by webfork »

Since the author said they would try to fix this, could someone check and see if it qualifies as portable now?

theboydanny
Posts: 18
Joined: Sat Mar 24, 2007 5:52 am
Location: Utrecht, Netherlands

Re: version 1.6 out

#9 Post 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.

Hadrien
Posts: 3
Joined: Thu Apr 05, 2007 9:42 am

#10 Post 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.

theboydanny
Posts: 18
Joined: Sat Mar 24, 2007 5:52 am
Location: Utrecht, Netherlands

#11 Post 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.

User avatar
AlephX
Posts: 664
Joined: Thu May 11, 2006 10:53 pm
Contact:

#12 Post by AlephX »

Hi! I tested it with regshot and works fine!
I think that it has to be added to the COllection for sure!

peteq
Posts: 1
Joined: Fri Apr 20, 2007 12:52 am
Location: Essex, UK

#13 Post 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?

panting portable
Posts: 22
Joined: Tue Aug 04, 2009 9:23 am

Re: PngOptimizer

#14 Post 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!
Last edited by panting portable on Thu Aug 06, 2009 6:42 am, edited 1 time in total.

User avatar
Checker
Posts: 1628
Joined: Wed Jun 20, 2007 1:00 pm
Location: Ingolstadt [DE]

Re: PngOptimizer

#15 Post by Checker »

PngOptimizer is with V1.8 in the database.
See :!:

Post Reply