Admidio API
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Packages

  • com
    • tecnick
      • tcpdf
  • None
  • PHPMailer
    • easypeasyics
  • PHPWavUtils
  • Securimage
    • classes

Classes

  • Datamatrix
  • PDF417
  • QRcode
  • TCPDF
  • TCPDF2DBarcode
  • TCPDF_COLORS
  • TCPDF_FILTERS
  • TCPDF_FONT_DATA
  • TCPDF_FONTS
  • TCPDF_IMAGES
  • TCPDF_IMPORT
  • TCPDF_PARSER
  • TCPDF_STATIC
  • TCPDFBarcode

Functions

  • str_split

Class TCPDF_IMAGES

Package: com\tecnick\tcpdf
Author: Nicola Asuni - info@tecnick.com
Version: 1.0.005
Brief: PHP class for generating PDF documents without requiring external extensions.
Class:

TCPDF_IMAGES Static image methods used by the TCPDF class.


Located at include/tcpdf_images.php

Methods summary

public static string
# getImageFileType( $imgfile, $iminfo = array() )

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

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

Parameters

$imgfile
image file name
$iminfo
array of image information returned by getimagesize() function.

Returns

string
image type

Since

4.8.017 (2009-11-27)

Public

static
public static
# setGDImageTransparency( $new_image, $image )

Set the transparency for the given GD image.

Set the transparency for the given GD image.

Parameters

$new_image
GD image object
$image

GD image object. return GD image object.

Since

4.9.016 (2010-04-20)

Public

static
public static
# _toPNG( $image, $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.

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 object.
$tempfile

Temporary file name. return image PNG image object.

Since

4.9.016 (2010-04-20)

Public

static
public static
# _toJPEG( $image, $quality, $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.

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 object.
$quality
JPEG quality.
$tempfile

Temporary file name. return image JPEG image object.

Public

static
public static array
# _parsejpeg( $file )

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

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

Parameters

$file
image file to parse

Returns

array
structure containing the image data

Public

static
public static array
# _parsepng( $file )

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

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

Parameters

$file
image file to parse

Returns

array
structure containing the image data

Public

static

Properties summary

public static array $svginheritprop

Array of hinheritable SVG properties.

Array of hinheritable SVG properties.

Since

5.0.000 (2010-05-02)

Public

static
# 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')
Admidio API API documentation generated by ApiGen