Re: imagejpeg, imagecreatefromjpeg both choke

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

 



Same thing, no output at all. I can access the image directly in my browser and it's fine.

On Jan 9, 2009, at 7:52 AM, Zechim wrote:

try,

  header('Content-type: image/jpeg');
  $image   = imagecreatefromjpeg($your_file);
  imagejpeg($image,"", 100);
  imagedestroy($image);

zechim


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