Hi all,
I'm trying to run convert.exe from the commmand line on version 7.0.4-9 Q16 x64 of ImageMagick. The input is from a php script:
exec($convert . ' -size 16x430 gradient: ' . $pal . ' -clut -mattecolor ' . $font_color . ' -frame 1x1 -set colorspace rgb -mattecolor gray -frame 1x1 "gradient.png"');
but I run into the following error:
convert.exe: unrecognized option '-mattecolor' @ error/convert.c/ConvertImageCommand/2245
Has anybody run into this before or have any suggestions for fixing this?
Thanks!
Michael
Convert.exe -mattecolor Error 2245
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Convert.exe -mattecolor Error 2245
-mattecolor is replaced by -alpha-color in IM 7. However, I do not see that documented in the porting guide at http://imagemagick.org/script/porting.php#cli
But see http://www.imagemagick.org/script/comma ... mattecolor
But see http://www.imagemagick.org/script/comma ... mattecolor
Re: Convert.exe -mattecolor Error 2245
Awesome, that worked. Thanks!
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Convert.exe -mattecolor Error 2245
-mattecolor will be re-introduced in IM 7.0.4.10 and replace -alpha-color