note 24130 rejected from function.imagecreatefromjpeg by jmcastagnetto
| From: | jmcastagnetto@php.net | Date: | Wed, 07 Aug 2002 19:54:27 +0000 |
| Subject: | note 24130 rejected from function.imagecreatefromjpeg by jmcastagnetto | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-34483@lists.php.net to get a copy of this message | ||
I wrote an upload script to put jpeg images on my server.
I limited the maximum filesize to upload to 2Mo.
This thing works, for some files, and doesn't for others.
All the files I tried to upload are jpeg, from 20Ko to 1.5Mo.
I use ImageCreateFromJpeg in this script, and I get this error (when it's not working) :
'fileName is not a valid JPEG file', which, I know, is not true...
Is there any limitation using this function (image resolution, image size ...)
Thanks,
Jaad