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.


Top ↑

Source Source

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


			

Top ↑

Changelog Changelog

Changelog
Version Description
4.9.016 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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