exif_thumbnail() problems
| From: | hrd | Date: | Tue, 27 Aug 2002 19:21:19 +0000 |
| Subject: | exif_thumbnail() problems | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-114275@lists.php.net to get a copy of this message | ||
Ok, I recently recompiled PHP with GD and exif support.
Now, I wanted to test exif_thumbnail() so created an jpeg image
which had an embedded thumbnail. I used the exif_thumbnail()
example at the php.net website, but it returns errors.
The first error I get is an incorrect parameter count when I use
exif_thumbnail($file, $x, $y, $type);
I stripped off the height, width and file_type paremeters and that
gets rid of that error.
But no matter what I do, this function returns false telling me that
there is no thumbnail to be retrieved from the image.
Can anyone provide me with a working example of thumbnail extraction
using exif_thumbnail()? I've tried many different things, with
absolutely no luck.
I tried using imagecreatefromjpeg() but that tells me theres no such
function.
Yours truly,
Hrd