classTCPDF__IMAGES

It appears that you are using AdBlocking software. The cost of running this website is covered by advertisements. If you like it please feel free to a small amount of money to secure the future of this website.

Static Public Member Functions

static getImageFileType ($imgfile, $iminfo=array())
 
static setGDImageTransparency ($new_image, $image)
 
static _toPNG ($image, $tempfile)
 
static _toJPEG ($image, $quality, $tempfile)
 
static _parsejpeg ($file)
 
static _parsepng ($file)
 

Static Public Attributes

static $svginheritprop = array(‘clip-rule’, ‘color’, ‘color-interpolation’, ‘color-interpolation-filters’, ‘color-profile’, ‘color-rendering’, ‘cursor’, ‘direction’, ‘display’, ‘fill’, ‘fill-opacity’, ‘fill-rule’, ‘font’, ‘font-family’, ‘font-size’, ‘font-size-adjust’, ‘font-stretch’, ‘font-style’, ‘font-variant’, ‘font-weight’, ‘glyph-orientation-horizontal’, ‘glyph-orientation-vertical’, ‘image-rendering’, ‘kerning’, ‘letter-spacing’, ‘marker’, ‘marker-end’, ‘marker-mid’, ‘marker-start’, ‘pointer-events’, ‘shape-rendering’, ‘stroke’, ‘stroke-dasharray’, ‘stroke-dashoffset’, ‘stroke-linecap’, ‘stroke-linejoin’, ‘stroke-miterlimit’, ‘stroke-opacity’, ‘stroke-width’, ‘text-anchor’, ‘text-rendering’, ‘visibility’, ‘word-spacing’, ‘writing-mode’)
 

Detailed Description

Static image methods used by the TCPDF class.

Member Function Documentation

static TCPDF_IMAGES::_parsejpeg (   $file)
static

Extract info from a JPEG file without using the GD library.

Parameters
$file(string) image file to parse
Returns
array structure containing the image data static

static TCPDF_IMAGES::_parsepng (   $file)
static

Extract info from a PNG file without using the GD library.

Parameters
$file(string) image file to parse
Returns
array structure containing the image data static

static TCPDF_IMAGES::_toJPEG (   $image,
  $quality,
  $tempfile 
)
static

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.

Parameters
$image(image) Image object.
$quality(int) JPEG quality.
$tempfile(string) Temporary file name. return image JPEG image object. static

static TCPDF_IMAGES::_toPNG (   $image,
  $tempfile 
)
static

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.

Parameters
$image(image) Image object.
$tempfile(string) Temporary file name. return image PNG image object.
Since
4.9.016 (2010-04-20) static

static TCPDF_IMAGES::getImageFileType (   $imgfile,
  $iminfo = array() 
)
static

Return the image type given the file name or array returned by getimagesize() function.

Parameters
$imgfile(string) image file name
$iminfo(array) array of image information returned by getimagesize() function.
Returns
string image type
Since
4.8.017 (2009-11-27) static

static TCPDF_IMAGES::setGDImageTransparency (   $new_image,
  $image 
)
static

Set the transparency for the given GD image.

Parameters
$new_image(image) GD image object
$image(image) GD image object. return GD image object.
Since
4.9.016 (2010-04-20) static

Member Data Documentation

TCPDF_IMAGES::$svginheritprop = array(‘clip-rule’, ‘color’, ‘color-interpolation’, ‘color-interpolation-filters’, ‘color-profile’, ‘color-rendering’, ‘cursor’, ‘direction’, ‘display’, ‘fill’, ‘fill-opacity’, ‘fill-rule’, ‘font’, ‘font-family’, ‘font-size’, ‘font-size-adjust’, ‘font-stretch’, ‘font-style’, ‘font-variant’, ‘font-weight’, ‘glyph-orientation-horizontal’, ‘glyph-orientation-vertical’, ‘image-rendering’, ‘kerning’, ‘letter-spacing’, ‘marker’, ‘marker-end’, ‘marker-mid’, ‘marker-start’, ‘pointer-events’, ‘shape-rendering’, ‘stroke’, ‘stroke-dasharray’, ‘stroke-dashoffset’, ‘stroke-linecap’, ‘stroke-linejoin’, ‘stroke-miterlimit’, ‘stroke-opacity’, ‘stroke-width’, ‘text-anchor’, ‘text-rendering’, ‘visibility’, ‘word-spacing’, ‘writing-mode’)
static

Array of hinheritable SVG properties.

Since
5.0.000 (2010-05-02) static


The documentation for this class was generated from the following file:

 

© 2004-2017 – Nicola Asuni - Tecnick.com - All rights reserved.
about - disclaimer - privacy