Page 1 of 1

Imagemagick -composite not working in live server

Posted: 2014-09-13T00:39:15-07:00
by meganathan
Hi,

I used the below codes in my local server. Its working perfectly. But the same coding does not work

convert images/orig-hand-img2.png ( ./uploadedfiles/tool_final_images/site/individual-fingers/5413f41b9b916-finger-0.png -gravity center -geometry +140+157 -resize 60x100! ) -composite ( ./uploadedfiles/tool_final_images/site/individual-fingers/5413f41b9b916-finger-1.png -gravity center -geometry +48-96 -resize 47x100! ) -composite ( ./uploadedfiles/tool_final_images/site/individual-fingers/5413f41b9b916-finger-2.png -gravity center -geometry -11-117 -resize 46x100! ) -composite ( ./uploadedfiles/tool_final_images/site/individual-fingers/5413f41b9b916-finger-3.png -gravity center -geometry -70-97 -resize 47x100! ) -composite ( ./uploadedfiles/tool_final_images/site/individual-fingers/5413f41b9b916-finger-4.png -gravity center -geometry -125-3 -resize 47x100! ) -composite ./uploadedfiles/tool_final_images/site/individual-fingers/ouput-new-5413f41b9b916-finger-0.png

Thanks and Regards,
Meganathan P

Re: Imagemagick -composite not working in live server

Posted: 2014-09-13T01:15:15-07:00
by snibgo
What does "not working" mean? What error message do you get?

What versions of IM are you using?

[Mod note: please don't multi-post. Other post deleted.]

Re: Imagemagick -composite not working in live server

Posted: 2014-09-13T04:55:19-07:00
by meganathan
I am getting nothing. I run this above code in php. The output image not return as well as i am not getting any error

Re: Imagemagick -composite not working in live server

Posted: 2014-09-13T05:07:45-07:00
by snibgo
Does your PHP code check for errors and error messages?

Re: Imagemagick -composite not working in live server

Posted: 2014-09-13T05:31:39-07:00
by meganathan
I am not getting any error message even error reporting on.
But imagemagick work with some other features like cut single images into multiple images, apply watermark, remove the png image transparent unwanted spaces and etc.

Re: Imagemagick -composite not working in live server

Posted: 2014-09-13T06:02:38-07:00
by meganathan
Hi,

This is my imagemagick version

ImageMagick 6.7.6-8 2012-05-02 Q16

Re: Imagemagick -composite not working in live server

Posted: 2014-09-13T06:03:33-07:00
by meganathan
snibgo wrote:What does "not working" mean? What error message do you get?

What versions of IM are you using?

[Mod note: please don't multi-post. Other post deleted.]

----------------------------

This is my version: ImageMagick 6.7.6-8 2012-05-02 Q16

Re: Imagemagick -composite not working in live server

Posted: 2014-09-13T06:48:04-07:00
by meganathan
Hi

Can you reply me on urgent basis?

Please.........

Re: Imagemagick -composite not working in live server

Posted: 2014-09-13T06:50:51-07:00
by glennrp
If the server is running Linux and your local machine is Windows, you need to escape the parentheses on the server, that is,
change all "(" to "\(" and all ")" to "\)".

Re: Imagemagick -composite not working in live server

Posted: 2014-09-13T06:58:56-07:00
by meganathan
Hi glennrp,

I really thanks to you. you are "genius". Brilliant guidance.

Really very very very very very.................... thank you.

Its working perfectly. Again thank you so much.

Thanks and Regards,
Meganathan P