TCPDF_IMAGES::getImageFileType( $imgfile, $iminfo = array() )
Return the image type given the file name or array returned by getimagesize() function.
Description Description
Parameters Parameters
- $imgfile
-
(Required) (string) image file name
- $iminfo
-
(Optional) (array) array of image information returned by getimagesize() function.
Default value: array()
Return Return
(string) image type
Source Source
File: includes/lib/tcpdf/include/tcpdf_images.php
Changelog Changelog
Version | Description |
---|---|
4.8.017 | Introduced. |