unable to call class function
Posted: 2008-07-17T06:40:20-07:00
hi,
still quite new to this, and not really sure if my installation has been totally successful,
i have been playing around a bit with imagick, and while i get some of the cmd line stuff working on my machine i can't seem to call imagick_create();
from reading some of the online stuff i got something like the following working
however now i wanted to try use API calls like imagick_create();but this will not be found,?
in my phpinfo it tell me imagick is enabled, and i have enabled .dll in my .ini file, so kinda stuck, i am going to go check out my install and stuff again, but any help is appreciated, WINDOWS XP os,?!?!
still quite new to this, and not really sure if my installation has been totally successful,
i have been playing around a bit with imagick, and while i get some of the cmd line stuff working on my machine i can't seem to call imagick_create();
from reading some of the online stuff i got something like the following working
Code: Select all
$cmd = "convert -size 150x300 \"$photo\"".
" -resize 200x200" .
" -strip" .
" -unsharp 0.2x0.6+1.0" .
" -quality 70 JPG:-";
header("Content-type: image/jpg");
passthru($cmd, $retval);
in my phpinfo it tell me imagick is enabled, and i have enabled .dll in my .ini file, so kinda stuck, i am going to go check out my install and stuff again, but any help is appreciated, WINDOWS XP os,?!?!