convert function not taking gradient color
Posted: 2014-03-04T08:50:07-07:00
Hi,
I have transferred my site to a new server and installed the latest version of ImageMagick on it (convert --version 6.2.8 ).
After porting site to new server my ImageMagick commands have stopped running on it. Here is the command that i am using from PHP script:
/usr/bin/convert -size 656x153 xc:none -fill 'gradient:#FDFCFC-#E8EAEB' -draw 'roundRectangle 0,0 656,153 15,15' front_plate_1393946806922887979.png
This command was running without any error on old server.
On new server this is the error I am getting now:
[root@localhost httpdocs]# /usr/bin/convert -size 656x153 xc:none -fill 'gradient:#FDFCFC-#E8EAEB' -draw 'roundRectangle 0,0 656,153 15,15' front_plate_1393946806922887979.png
Need your help in this regards,
Best regards,
I have transferred my site to a new server and installed the latest version of ImageMagick on it (convert --version 6.2.8 ).
After porting site to new server my ImageMagick commands have stopped running on it. Here is the command that i am using from PHP script:
/usr/bin/convert -size 656x153 xc:none -fill 'gradient:#FDFCFC-#E8EAEB' -draw 'roundRectangle 0,0 656,153 15,15' front_plate_1393946806922887979.png
This command was running without any error on old server.
On new server this is the error I am getting now:
[root@localhost httpdocs]# /usr/bin/convert -size 656x153 xc:none -fill 'gradient:#FDFCFC-#E8EAEB' -draw 'roundRectangle 0,0 656,153 15,15' front_plate_1393946806922887979.png
Can you please guide me what has gone wrong here now?convert: unrecognized color `gradient:#FDFCFC-#E8EAEB'.
Need your help in this regards,
Best regards,