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.


Top ↑

Source Source

File: includes/lib/tcpdf/include/tcpdf_images.php


			

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.