TCPDF_IMAGES::_toPNG( $image, $tempfile )
Convert the loaded image to a PNG and then return a structure for the PDF creator.
Description Description
This function requires GD library and write access to the directory defined on K_PATH_CACHE constant.
Parameters Parameters
- $image
-
(Required) (image) Image object.
- $tempfile
-
(Required) (string) Temporary file name. return image PNG image object.
Source Source
File: includes/lib/tcpdf/include/tcpdf_images.php
Changelog Changelog
Version | Description |
---|---|
4.9.016 | Introduced. |