exif_thumbnail
Opis
string exif_thumbnail ( string filename [, int &width [, int &height [, int &imagetype]]] )exif_thumbnail() reads the embedded thumbnail of a TIFF or JPEG image.
If you want to deliver thumbnails through this function, you should send the mimetype information using the header() function.
It is possible that exif_thumbnail() cannot create an
image but can determine its size. In this case, the return value is
FALSE but width
and height
are set.
Parametry
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 TIFF or JPEG.
Przykłady