Page 1 of 1

display, comment & identify

Posted: 2006-06-15T15:09:17-07:00
by Bonzo
I seem to have everything working using php now apart from display, comment & identify.

As far as I can see in the posts I will only be ably to get display to work with an X server whatever that is?

But why cant I get comment or identify to work ?

Code I have tried:

Code: Select all

exec("/usr/local/bin/convert flowers.jpg -gravity Center -comment %m:%f %wx%h tests3.jpg"); 
exec("/usr/local/bin/identify flowers.jpg");
Anthony

Posted: 2006-08-08T15:30:01-07:00
by Bonzo
This is starting to anoy me now. Why will identify not work ?

I have now tried:

Code: Select all

exec("/usr/local/bin/convert -verbose -identify zompus/50cent22.png");

exec("/usr/local/bin/convert -verbose identify zompus/50cent22.png");

exec("/usr/local/bin/convert  identify -verbose zompus/50cent22.png");

exec("/usr/local/bin/convert -verbose info: zompus/50cent22.png");

exec("/usr/local/bin/convert identify -format  zompus/50cent22.png");

exec("/usr/local/bin/convert -verbose -identify earth.jpg");

exec("/usr/local/bin/convert -verbose identify earth.jpg");

exec("/usr/local/bin/convert  identify -verbose earth.jpg");

exec("/usr/local/bin/convert -verbose info: earth.jpg");

exec("/usr/local/bin/convert identify -format  earth.jpg");

All I get is a blank page.

Posted: 2006-08-08T19:25:01-07:00
by anthony
Use

Code: Select all

convert image.png  -verbose  info:
OR

Code: Select all

identify -verbose image.png
What you have written make no sense and probably produces errors rather than output. Check you error logs, if you can.

Posted: 2006-08-09T14:04:03-07:00
by Bonzo
I think there must be something missing in the setup as I said in the first post display, comment & identify will not work.

Display will not work as I am not on an X server ? and I assume that as identify and comment will not work and they are both using text the problem must be linked.

Debug does not output anything either ( text again ! ) am I starting to see a patern here ?

I am on a shared server and I do not have access to any error logs.

Posted: 2006-08-10T21:33:48-07:00
by anthony
Check what is actually installed, the executable may be a slightly different name.
EG im-convert or im_convert for example.

As for 'comment' I think you mean 'convert', as comment is not a IM command.