ImageMagick6.4.5 (compiled from source) in RHEL 4.0

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
somasundaram

ImageMagick6.4.5 (compiled from source) in RHEL 4.0

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

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

Post 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).
Post Reply