TCPDF_IMAGES
class TCPDF_IMAGES (View source)
Properties
static string[]
Since: 5.0.000 (2010-05-02)
|
$svginheritprop | Array of hinheritable SVG properties. |
Methods
Return the image type given the file name or array returned by getimagesize() function.
Set the transparency for the given GD image.
Convert the loaded image to a PNG and then return a structure for the PDF creator.
Convert the loaded image to a JPEG and then return a structure for the PDF creator.
Extract info from a JPEG file without using the GD library.
Extract info from a PNG file without using the GD library.
Details
static string
getImageFileType(string $imgfile, array $iminfo = array())
Return the image type given the file name or array returned by getimagesize() function.
static resource
setGDImageTransparency(resource $new_image, resource $image)
Set the transparency for the given GD image.
static
_toPNG(resource $image, string $tempfile)
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.
static
_toJPEG(resource $image, int $quality, string $tempfile)
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.
static array|false
_parsejpeg(string $file)
Extract info from a JPEG file without using the GD library.
static array|false
_parsepng(string $file)
Extract info from a PNG file without using the GD library.