Page 1 of 1

ImageMagick6.4.5 (compiled from source) in RHEL 4.0

Posted: 2008-11-04T06:53:32-07:00
by somasundaram
When using ImageMagick6.4.5 (compiled from source) in RHEL 4.0, We get the following errors

1. When using -fill, -stroke in convert command, we are not able to give hexadecimal color values (ex: -fill #AE1332 -stroke #AE1332). Only we can specify solid colors.
Ex: convert -background none -font aharoni-bold -pointsize 60 -fill #FED987 -gravity center label:"Dating Agency" text.png
The same command works in windows

2. We also get syntax error near unexpected token `(' when using the following command.
convert -gravity center shinytext.png (+clone -background black -shadow 100x3+3+3 ) +swap -background none -layers merge ( +clone -background #D08E00 -shadow 90x7+0+0 -spread 1 ) +swap -background none -layers merge -gravity center -geometry +0+4 bg.jpg +swap -composite final.jpg
The same command works in windows

Can you please help us .


Please note that we have the following differnce in out put when running ./configure.
Autotrace --with-autotrace=no no
DPS --with-dps=yes no Ghostscript None gs (7.07)
Graphviz --with-gvc=yes no
JPEG-2000 --with-jp2=yes no
LCMS --with-lcms=yes no
OpenEXR --with-openexr=yes no
RSVG --with-rsvg=yes no
WMF --with-wmf=yes no

CFLAGS = -g -O2 -Wall -W -pthread
MAGICK_CFLAGS = -g -O2 -Wall -W -pthread

Re: ImageMagick6.4.5 (compiled from source) in RHEL 4.0

Posted: 2008-11-04T07:39:40-07:00
by magick
In Linux / Unix you must escape the parens. Use \( and \) instead of ( ).

Unfortunately we cannot reproduce problem you are having with hex color values. Try escaping (.e.g. \#600).