Imagick Arc Text Issue In CentOS

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
Samganesh
Posts: 3
Joined: 2013-02-21T07:43:17-07:00
Authentication code: 6789

Imagick Arc Text Issue In CentOS

Post by Samganesh »

I have generated imagick arc text in my website by convert command, its working fine in my local system. My local sytem configuration is PHP 5.3.5, Imagick module 2.3.0 with imagemagick version 6.7.1 in Windows. The arc text generated properly in my windows server.

The same command is not working in my development server with following configuration PHP 5.3.6, Imagick module 2.3.0 with imagemagick version 6.7.1 in CentOS 6.3 . When i execute the arc text command in development server, the text is generated without arc. I have used the following command to create a arc text.

convert -font Candice -pointsize 20 label:"Around the World" \ -virtual-pixel Background -background SkyBlue \ -distort Arc 180 \centos_arc_circle_355.jpg

I used the exec command to execute the above command. Please refer with attached images...........

In windows :Image

In centOS :Image


Please help me to fix this bug.

Thanks in advance
Ganesh.S
Last edited by Samganesh on 2013-02-21T22:15:04-07:00, edited 1 time in total.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Imagick Arc Text Issue In CentOS

Post by snibgo »

Are the font files identical on the two systems?
snibgo's IM pages: im.snibgo.com
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Imagick Arc Text Issue In CentOS

Post by fmw42 »

I am not sure exactly how these relate to font drawing, but are the fontconfig and freetype delegates the same on the two systems.

see
http://www.imagemagick.org/download/delegates/

Are you sure that PHP and Imagick are actually configured with the same Imagemagick version you are using on your computer?
Post Reply