moderna / ma-image-resize-tool

An generic image resizing tool based on node.js
MIT License
3 stars 1 forks source link

Force PNG32 for macstore iconset #10

Closed ghost closed 7 years ago

ghost commented 7 years ago

The macstore.iconset used within the app has to be PNG32. The corresponding IM command is: convert "input.png" "PNG32:output.png"

geo-at-github commented 7 years ago

You can do this by using the image magick "-define" parameter. See: http://www.imagemagick.org/script/command-line-options.php Don't forget to also deactivate the optimization (otherwise it would be reduced again to 8-bit png).

Example: { ... "imageMagicParameters":"-unsharp 1.5x1+0.7+0.02 -define png:format=png32", "optimize": false },

This will be added as default setting to the "apple-macstore-icons" templates soon. Thanks

geo-at-github commented 7 years ago

Has been added now.