Re: corrupt image when viewed using PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 18 Oct 2006, at 05:44 , Angelo Zanetti wrote:
We also found another possible solution being that we use ImageMagick to convert the jpeg to a jpeg, then it will load properly. But now we would have to convert each image that comes in and maybe only 10% of the images come from a Nokia VGA camera, ImageMagick also has to be run from the command line (would this affect the performance of the site?). Would you suggest using ImageMagick to convert the images each time a new one is uploaded? Or does anyone have a better solution for this?

Is there a way to test that the image is corrupt or not? If so, then simply test each image, then ImageMagick those that fail. If not, ImageMagick them all, it's pretty cheap and quick


--
Hey, how come Andrew gets to get up? If he gets up, we'll all get up, it'll be anarchy.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux