exif_thumbnail()
exif_thumbnail - Retrieve the embedded thumbnail of a TIFF or JPEG image
Syntax
string exif_thumbnail (
string $filename,
int &$width,
int &$height,
int &$imagetype)
Arguments
- filename - The name of the image file being read. This image contains an embedded thumbnail.
- width - The return width of the returned thumbnail.
- height - The returned height of the returned thumbnail.
- imagetype - The returned image type of the returned thumbnail. This is either TIFFor JPEG.
Description
exif_thumbnail() reads the embedded thumbnail of a TIFFor JPEGimage.
Version
PHP 4.2.0, 5
Return value
Returns the embedded thumbnail, or FALSE if the image contains no thumbnail.