Page 1 of 1

color-type command

Posted: 2010-01-27T19:04:49-07:00
by adrianj
What commands can I use in Imagick to replicate this:

-define png:color-type=2

Thanks,
Adrian

Re: color-type command

Posted: 2010-01-27T19:40:28-07:00
by el_supremo
I don't know how to do that in Imagick, but in C you would use:

Code: Select all

MagickSetOption(wand,"png:color-type","2");
I presume there's something vaguely similar in IMagick.

Pete

Re: color-type command

Posted: 2010-01-27T22:03:07-07:00
by adrianj
Thanks - I didn't realize that is what SetOtion was for.