|
exif_thumbnail(PHP 4 >= 4.2.0, PHP 5) exif_thumbnail — Retrieve the embedded thumbnail of a TIFF or JPEG image Описание
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. Список параметров
Возвращаемые значенияReturns the embedded thumbnail, or FALSE if the image contains no thumbnail. Список изменений
Примеры
Пример #1 exif_thumbnail() example
<?php Смотрите также
|
|||||||