Created
July 12, 2018 02:08
-
-
Save geekley/7e1d8b3f50db414ec116e6501f1eba3d to your computer and use it in GitHub Desktop.
Installs a context menu entry on Windows to convert Inkscape SVG and PNG files to minified PNG (stripping metainfo and EXIF tags)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
; Created with Default Programs Editor | |
; http://defaultprogramseditor.com/ | |
; Add Verb | |
[HKEY_CURRENT_USER\Software\Classes\inkscape.svg\shell\ConvertToMinifiedPNG] | |
@="Convert to minified PNG" | |
[HKEY_CURRENT_USER\Software\Classes\inkscape.svg\shell\ConvertToMinifiedPNG\command] | |
@="\"C:\\Program Files\\ImageMagick\\7.0.3-Q16\\convert.exe\" -background none -strip -set filename:n \"%%t\" \"%1\" \"%%[filename:n].png\"" | |
[HKEY_CURRENT_USER\Software\Classes\inkscape.svg\shell\ConvertToMinifiedPNG] | |
"Icon"="C:\\Program Files\\ImageMagick\\7.0.3-Q16\\convert.exe,0" | |
; Add Verb | |
[HKEY_CURRENT_USER\Software\Classes\pngfile\shell\ConvertToMinifiedPNG] | |
@="Convert to minified PNG" | |
[HKEY_CURRENT_USER\Software\Classes\pngfile\shell\ConvertToMinifiedPNG\command] | |
@="\"C:\\Program Files\\ImageMagick\\7.0.3-Q16\\convert.exe\" -background none -strip -set filename:n \"%%t\" \"%1\" \"%%[filename:n].png\"" | |
[HKEY_CURRENT_USER\Software\Classes\pngfile\shell\ConvertToMinifiedPNG] | |
"Icon"="C:\\Program Files\\ImageMagick\\7.0.3-Q16\\convert.exe,0" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment