elad / node-imagemagick-native

ImageMagick's Magick++ bindings for NodeJS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for Convert' DEFINE command-line option

tinovyatkin opened this issue · comments

Hello,
I'm trying to do analog of following command-line:
convert -format ico -density 600 -background none -define icon:auto-resize=128,64,48,32,16 logo.svg favicon.ico
but can't find any way to specify transparent background (it failsback to white from none and from transparent) nor a way to specify format-specific options like -define icon:auto-resize=128,64,48,32,16.
Is there a way to do it with imagemagick-native ?

What version are you using? This is supposed to be possible with #140 I guess.

I tried on the latest available from npm - doesn't work with transparent bg