MagickReadImage Returns 0 and Bool (false) using var_dump
Posted: 2008-08-12T10:26:35-07:00
I have ImageMagick installed on my linux box and I also have Magickwand compiled with my PHP because I see the option inside php_info
I get a Resource id # (which tells me that it was created okay) and
I also see a /tmp/filename when I echo out the $_FILE["userfile"]["tmp_name"].
what I dont get is the MagickReadImage. I have assigned it to a Variable and when I echo it,
I get 0. So when I use MagickGetImageHeight and MagickGetImageWidth I get nothing in return.
I really need anyone's help on this issue.
Thank you for giving me your time.
I get a Resource id # (which tells me that it was created okay) and
I also see a /tmp/filename when I echo out the $_FILE["userfile"]["tmp_name"].
what I dont get is the MagickReadImage. I have assigned it to a Variable and when I echo it,
I get 0. So when I use MagickGetImageHeight and MagickGetImageWidth I get nothing in return.
I really need anyone's help on this issue.
Thank you for giving me your time.