See Release Notes
Long Term Support Release
Differences Between: [Versions 310 and 401] [Versions 311 and 401] [Versions 39 and 401] [Versions 400 and 401]
(no description)
Author: | Nicola Asuni |
Version: | 1.0.005 |
File Size: | 359 lines (11 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
TCPDF_IMAGES:: (6 methods):
getImageFileType()
setGDImageTransparency()
_toPNG()
_toJPEG()
_parsejpeg()
_parsepng()
Class: TCPDF_IMAGES - X-Ref
getImageFileType($imgfile, $iminfo=array() X-Ref |
Return the image type given the file name or array returned by getimagesize() function. param: string $imgfile image file name param: array $iminfo array of image information returned by getimagesize() function. return: string image type |
setGDImageTransparency($new_image, $image) X-Ref |
Set the transparency for the given GD image. param: resource $new_image GD image object param: resource $image GD image object. return: resource GD image object $new_image |
_toPNG($image, $tempfile) X-Ref |
Convert the loaded image to a PNG and then return a structure for the PDF creator. This function requires GD library and write access to the directory defined on K_PATH_CACHE constant. param: resource $image Image object. param: string $tempfile Temporary file name. |
_toJPEG($image, $quality, $tempfile) X-Ref |
Convert the loaded image to a JPEG and then return a structure for the PDF creator. This function requires GD library and write access to the directory defined on K_PATH_CACHE constant. param: resource $image Image object. param: int $quality JPEG quality. param: string $tempfile Temporary file name. |
_parsejpeg($file) X-Ref |
Extract info from a JPEG file without using the GD library. param: string $file image file to parse return: array|false structure containing the image data |
_parsepng($file) X-Ref |
Extract info from a PNG file without using the GD library. param: string $file image file to parse return: array|false structure containing the image data |