asap answer required
Printable View
asap answer required
It could be that no one here knows the answer or maybe they do not know exactly what it is you are trying to do.
To answer your question: as far as I can tell you still must use the system commands. I do not see a way around this.
Another place to seek answers is the ImageMagick forums itself. Go here and post your question in the "Users" forum.
http://www.phpro.org/tutorials/Imagick.html
have a look here
my hosting provider says:well, what is:Quote:
ImageMagick is a powerful set of image manipulation utilities that you can access through your code to create, edit, and compose bitmap images. There are many Web applications that use ImageMagick to manipulate images, or, if you're an experienced programmer, you can use Perl or PHP to access ImageMagick's convert utility.
The convert path to ImageMagick, version 5 on our servers is:
/usr/bin/
The convert path to ImageMagick, version 6 on our servers is:
/usr/local/bin/
"The convert path to ImageMagick"?
images read from / images saved to, or...?
I am not sure what you would need the convert path to ImageMagick for or how you would use it.
Images are read from the relative root directory. For example if your image is in your images folder under the file name gdsample.jpg then you can manipulate it with a simple script like:
Code:<?php
header('Content-Type: image/jpg');
system("convert images/pops/gdsample1.jpg -flop jpg:-");
?>
<?phpand?>says read everything inbetween as php code.
header('Content-Type: image/jpg');says display the content (or output) to the person viewing the page as an image and in particular a jpg image.
The above code is the ImageMagick code. As you can see the path to ImageMagick is not being referenced except for using the command system.Code:system("convert images/gdsample1.jpg -flop jpg:-");
http://www.polisphotos.com/jQueryPb/...08_256x240.png
this worked right as you see at http://www.polisphotos.com/jQueryPb/...k/imagick3.phpCode:<?php
header('Content-Type: image/png');
system("convert http://www.polisphotos.com/jQueryPb/images/ui-icons_ef8c08_256x240.png -flop png:-");
?>
well what if I want to use $im = new Imagick($image); // to built web forms that modify images // not use system... is it new Imagick($image); supported by 5.5.6 version?
Have you asked in the ImageMagick forums like I mentioned earlier?