TCPDF_IMAGES::_toJPEG( $image, $quality, $tempfile )
Convert the loaded image to a JPEG 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.
- $quality
-
(Required) (int) JPEG quality.
- $tempfile
-
(Required) (string) Temporary file name. return image JPEG image object.
Source Source
File: includes/lib/tcpdf/include/tcpdf_images.php