Menu

#46 Add a shell tool

open
nobody
None
5
2017-01-25
2015-07-28
lainz
No

Hi, with Inno Setup is easy to add a shell context menu item for .png files.

Just install inno setup, in the same folder as attached source.iss put optipng.exe and build the setup. Then install it.

You now have a right click menu 'Optimize PNG' that will run optipng and quickly optimize the file with the optipng default options.

You can add more items like 'Optimize PNG (Aggresive)' and put the parameters you want, to get better results, but I always use the default one that's quick and works.

Please consider adding a setup to your project downloads as download alternative for those that don't want to download third party tools (GUI's and so on).

Note: This does not change file association and will work always no matter the user switch .png to open with mspaint or anything else.

1 Attachments

Discussion


Log in to post a comment.