Convert.exe -mattecolor Error 2245
Posted: 2017-02-15T18:24:41-07:00
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
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