imagejpeg, imagecreatefromjpeg both choke

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

 



I'm trying a stripped down test just to try to get this work. I have a valid jpeg on disk:

3.jpg    <- 3316x2220, 3.6 MB

And am trying either of the following:

// This does nothing at all
imagejpeg('3.jpg');

// This displays "failed"
$im = imagecreatefromjpeg('3.jpg');
if(!$im) echo 'failed';

phpinfo() shows GD enabled, JPEG functions enabled, memory_limit at 256M, permissions on the file and the enclosing folder are 777. Any suggestions what else I can try to debug this?

--
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