Documentation TYPO3 par Ameos |
Public Member Functions | |
init () | |
maskImageOntoImage (&$im, $conf, $workArea) | |
copyImageOntoImage (&$im, $conf, $workArea) | |
copyGifOntoGif (&$im, $cpImg, $conf, $workArea) | |
imagecopyresized (&$im, $cpImg, $Xstart, $Ystart, $cpImgCutX, $cpImgCutY, $w, $h, $w, $h) | |
makeText (&$im, $conf, $workArea) | |
txtPosition ($conf, $workArea, $BB) | |
calcBBox ($conf) | |
addToMap ($cords, $conf) | |
calcTextCordsForMap ($cords, $offset, $conf) | |
SpacedImageTTFText (&$im, $fontSize, $angle, $x, $y, $Fcolor, $fontFile, $text, $spacing, $wordSpacing, $splitRenderingConf, $sF=1) | |
fontResize ($conf) | |
ImageTTFBBoxWrapper ($fontSize, $angle, $fontFile, $string, $splitRendering, $sF=1) | |
ImageTTFTextWrapper ($im, $fontSize, $angle, $x, $y, $color, $fontFile, $string, $splitRendering, $sF=1) | |
splitString ($string, $splitRendering, $fontSize, $fontFile) | |
makeOutline (&$im, $conf, $workArea, $txtConf) | |
circleOffset ($distance, $iterations) | |
makeEmboss (&$im, $conf, $workArea, $txtConf) | |
makeShadow (&$im, $conf, $workArea, $txtConf) | |
makeBox (&$im, $conf, $workArea) | |
makeEffect (&$im, $conf) | |
IMparams ($setup) | |
adjust (&$im, $conf) | |
crop (&$im, $conf) | |
scale (&$im, $conf) | |
setWorkArea ($workArea) | |
autolevels (&$im) | |
outputLevels (&$im, $low, $high, $swap='') | |
inputLevels (&$im, $low, $high, $swap='') | |
reduceColors (&$im, $limit, $cols) | |
prependAbsolutePath ($fontFile) | |
v5_sharpen ($factor) | |
v5_blur ($factor) | |
randomName () | |
applyOffset ($cords, $OFFSET) | |
convertColor ($string) | |
recodeString ($string) | |
singleChars ($theText, $returnUnicodeNumber=FALSE) | |
objPosition ($conf, $workArea, $BB) | |
imageMagickConvert ($imagefile, $newExt='', $w='', $h='', $params='', $frame='', $options='', $mustCreate=0) | |
getImageDimensions ($imageFile) | |
cacheImageDimensions ($identifyResult) | |
getCachedImageDimensions ($imageFile) | |
getImageScale ($info, $w, $h, $options) | |
file_exists_typo3temp_file ($output, $orig='') | |
imageMagickIdentify ($imagefile) | |
imageMagickExec ($input, $output, $params) | |
combineExec ($input, $overlay, $mask, $output) | |
wrapFileName ($inputName) | |
checkFile ($file) | |
createTempSubDir ($dirName) | |
applyImageMagickToPHPGif (&$im, $command) | |
gif_or_jpg ($type, $w, $h) | |
output ($file) | |
destroy () | |
imgTag ($imgInfo) | |
ImageGif ($destImg, $theImage) | |
imageCreateFromGif ($sourceImg) | |
init () | |
maskImageOntoImage (&$im, $conf, $workArea) | |
copyImageOntoImage (&$im, $conf, $workArea) | |
copyGifOntoGif (&$im, $cpImg, $conf, $workArea) | |
imagecopyresized (&$im, $cpImg, $Xstart, $Ystart, $cpImgCutX, $cpImgCutY, $w, $h, $w, $h) | |
makeText (&$im, $conf, $workArea) | |
txtPosition ($conf, $workArea, $BB) | |
calcBBox ($conf) | |
addToMap ($cords, $conf) | |
calcTextCordsForMap ($cords, $offset, $conf) | |
SpacedImageTTFText (&$im, $fontSize, $angle, $x, $y, $Fcolor, $fontFile, $text, $spacing, $wordSpacing, $splitRenderingConf, $sF=1) | |
fontResize ($conf) | |
ImageTTFBBoxWrapper ($fontSize, $angle, $fontFile, $string, $splitRendering, $sF=1) | |
ImageTTFTextWrapper ($im, $fontSize, $angle, $x, $y, $color, $fontFile, $string, $splitRendering, $sF=1) | |
splitString ($string, $splitRendering, $fontSize, $fontFile) | |
makeOutline (&$im, $conf, $workArea, $txtConf) | |
circleOffset ($distance, $iterations) | |
makeEmboss (&$im, $conf, $workArea, $txtConf) | |
makeShadow (&$im, $conf, $workArea, $txtConf) | |
makeBox (&$im, $conf, $workArea) | |
makeEffect (&$im, $conf) | |
IMparams ($setup) | |
adjust (&$im, $conf) | |
crop (&$im, $conf) | |
scale (&$im, $conf) | |
setWorkArea ($workArea) | |
autolevels (&$im) | |
outputLevels (&$im, $low, $high, $swap='') | |
inputLevels (&$im, $low, $high, $swap='') | |
reduceColors (&$im, $limit, $cols) | |
prependAbsolutePath ($fontFile) | |
v5_sharpen ($factor) | |
v5_blur ($factor) | |
randomName () | |
applyOffset ($cords, $OFFSET) | |
convertColor ($string) | |
recodeString ($string) | |
singleChars ($theText, $returnUnicodeNumber=FALSE) | |
objPosition ($conf, $workArea, $BB) | |
imageMagickConvert ($imagefile, $newExt='', $w='', $h='', $params='', $frame='', $options='', $mustCreate=0) | |
getImageDimensions ($imageFile) | |
cacheImageDimensions ($identifyResult) | |
getCachedImageDimensions ($imageFile) | |
getImageScale ($info, $w, $h, $options) | |
file_exists_typo3temp_file ($output, $orig='') | |
imageMagickIdentify ($imagefile) | |
imageMagickExec ($input, $output, $params) | |
combineExec ($input, $overlay, $mask, $output) | |
wrapFileName ($inputName) | |
checkFile ($file) | |
createTempSubDir ($dirName) | |
applyImageMagickToPHPGif (&$im, $command) | |
gif_or_jpg ($type, $w, $h) | |
output ($file) | |
destroy () | |
imgTag ($imgInfo) | |
ImageGif ($destImg, $theImage) | |
imageCreateFromGif ($sourceImg) | |
Public Attributes | |
$combineScript = 'combine' | |
$noFramePrepended = 0 | |
$GD2 = 0 | |
$imagecopyresized_fix = 0 | |
$gifExtension = 'gif' | |
$TTFLocaleConv = '' | |
$enable_typo3temp_db_tracking = 0 | |
$imageMagickPath = '' | |
$imageFileExt = 'gif,jpg,jpeg,png,tif,bmp,tga,pcx,ai,pdf' | |
$webImageExt = 'gif,jpg,jpeg,png' | |
$maskNegate = '' | |
$NO_IM_EFFECTS = '' | |
$cmds | |
$NO_IMAGE_MAGICK = '' | |
$V5_EFFECTS = 0 | |
$mayScaleUp = 1 | |
$filenamePrefix = '' | |
$imageMagickConvert_forceFileNameBody = '' | |
$dontCheckForExistingTempFile = 0 | |
$dontCompress = 0 | |
$dontUnlinkTempFiles = 0 | |
$alternativeOutputKey = '' | |
$IM_commands = Array() | |
$workArea = Array() | |
$tempPath = 'typo3temp/' | |
$absPrefix = '' | |
$scalecmd = '-geometry' | |
$im5fx_blurSteps = '1x2,2x2,3x2,4x3,5x3,5x4,6x4,7x5,8x5,9x5' | |
$im5fx_sharpenSteps = '1x2,2x2,3x2,2x3,3x3,4x3,3x4,4x4,4x5,5x5' | |
$pixelLimitGif = 10000 | |
$colMap | |
$csConvObj | |
$nativeCharset = '' |
Definition at line 147 of file class.t3lib_stdgraphic.php.
|
Adds an <area> tag to the internal variable $this->map which is used to accumulate the content for an ImageMap
Definition at line 774 of file class.t3lib_stdgraphic.php. |
|
Adds an <area> tag to the internal variable $this->map which is used to accumulate the content for an ImageMap
Definition at line 774 of file class.t3lib_stdgraphic.php. |
|
Implements the "ADJUST" GIFBUILDER object
Definition at line 1490 of file class.t3lib_stdgraphic.php. References t3lib_div::intExplode(). |
|
Implements the "ADJUST" GIFBUILDER object
Definition at line 1490 of file class.t3lib_stdgraphic.php. References t3lib_div::intExplode(). Referenced by tslib_gifBuilder::make(). |
|
Applies an ImageMagick parameter to a GDlib image pointer resource by writing the resource to file, performing an IM operation upon it and reading back the result into the ImagePointer.
Definition at line 2482 of file class.t3lib_stdgraphic.php. |
|
Applies an ImageMagick parameter to a GDlib image pointer resource by writing the resource to file, performing an IM operation upon it and reading back the result into the ImagePointer.
Definition at line 2482 of file class.t3lib_stdgraphic.php. |
|
Applies offset value to coordinated in $cords. Basically the value of key 0/1 of $OFFSET is added to keys 0/1 of $cords
Definition at line 1820 of file class.t3lib_stdgraphic.php. |
|
Applies offset value to coordinated in $cords. Basically the value of key 0/1 of $OFFSET is added to keys 0/1 of $cords
Definition at line 1820 of file class.t3lib_stdgraphic.php. |
|
Apply auto-levels to input image pointer
Definition at line 1625 of file class.t3lib_stdgraphic.php. |
|
Apply auto-levels to input image pointer
Definition at line 1625 of file class.t3lib_stdgraphic.php. |
|
Cache the result of the getImageDimensions function into the database. Does not check if the file exists!
Definition at line 2123 of file class.t3lib_stdgraphic.php. References t3lib_div::getURL(). |
|
Cache the result of the getImageDimensions function into the database. Does not check if the file exists!
Definition at line 2123 of file class.t3lib_stdgraphic.php. References t3lib_div::getURL(). |
|
Calculates bounding box information for the TEXT GIFBUILDER object.
Definition at line 705 of file class.t3lib_stdgraphic.php. References t3lib_div::intInRange(). |
|
Calculates bounding box information for the TEXT GIFBUILDER object.
Definition at line 705 of file class.t3lib_stdgraphic.php. References t3lib_div::intInRange(). Referenced by tslib_gifBuilder::start(). |
|
Calculating the coordinates for a TEXT string on an image map. Used in an <area> tag
Definition at line 797 of file class.t3lib_stdgraphic.php. References t3lib_div::intExplode(). |
|
Calculating the coordinates for a TEXT string on an image map. Used in an <area> tag
Definition at line 797 of file class.t3lib_stdgraphic.php. References t3lib_div::intExplode(). |
|
Returns true if the input file existed
Reimplemented in tslib_gifBuilder, and tslib_gifBuilder. Definition at line 2446 of file class.t3lib_stdgraphic.php. |
|
Returns true if the input file existed
Reimplemented in tslib_gifBuilder, and tslib_gifBuilder. Definition at line 2446 of file class.t3lib_stdgraphic.php. |
|
Creates some offset values in an array used to simulate a circularly applied outline around TEXT access private
Definition at line 1197 of file class.t3lib_stdgraphic.php. |
|
Creates some offset values in an array used to simulate a circularly applied outline around TEXT access private
Definition at line 1197 of file class.t3lib_stdgraphic.php. |
|
Executes a ImageMagick "combine" (or composite in newer times) on four filenames - $input, $overlay and $mask as input files and $output as the output filename (written to) Can be used for many things, mostly scaling and effects.
Definition at line 2390 of file class.t3lib_stdgraphic.php. |
|
Executes a ImageMagick "combine" (or composite in newer times) on four filenames - $input, $overlay and $mask as input files and $output as the output filename (written to) Can be used for many things, mostly scaling and effects.
Definition at line 2390 of file class.t3lib_stdgraphic.php. Referenced by maskImageOntoImage(). |
|
Converts a "HTML-color" TypoScript datatype to RGB-values. Default is 0,0,0
Definition at line 1833 of file class.t3lib_stdgraphic.php. References t3lib_div::intInRange(). |
|
Converts a "HTML-color" TypoScript datatype to RGB-values. Default is 0,0,0
Definition at line 1833 of file class.t3lib_stdgraphic.php. References t3lib_div::intInRange(). Referenced by tslib_gifBuilder::make(). |
|
Copies two GDlib image pointers onto each other, using TypoScript configuration from $conf and the input $workArea definition.
Definition at line 407 of file class.t3lib_stdgraphic.php. References $workArea, t3lib_div::intExplode(), t3lib_div::intInRange(), and objPosition(). |
|
Copies two GDlib image pointers onto each other, using TypoScript configuration from $conf and the input $workArea definition.
Definition at line 407 of file class.t3lib_stdgraphic.php. References $workArea, t3lib_div::intExplode(), t3lib_div::intInRange(), and objPosition(). Referenced by copyImageOntoImage(), and maskImageOntoImage(). |
|
Implements the "IMAGE" GIFBUILDER object, when the "mask" property is false (using only $conf['file'])
Definition at line 385 of file class.t3lib_stdgraphic.php. References $workArea, copyGifOntoGif(), imageCreateFromGif(), and imageMagickConvert(). |
|
Implements the "IMAGE" GIFBUILDER object, when the "mask" property is false (using only $conf['file'])
Definition at line 385 of file class.t3lib_stdgraphic.php. References $workArea, copyGifOntoGif(), imageCreateFromGif(), and imageMagickConvert(). Referenced by tslib_gifBuilder::make(). |
|
Creates subdirectory in typo3temp/ if not already found.
Definition at line 2460 of file class.t3lib_stdgraphic.php. References t3lib_div::isFirstPartOfStr(), and t3lib_div::mkdir(). |
|
Creates subdirectory in typo3temp/ if not already found.
Definition at line 2460 of file class.t3lib_stdgraphic.php. References t3lib_div::isFirstPartOfStr(), and t3lib_div::mkdir(). Referenced by tslib_gifBuilder::gifBuild(). |
|
Implements the "CROP" GIFBUILDER object
Definition at line 1522 of file class.t3lib_stdgraphic.php. References t3lib_div::intExplode(). |
|
Implements the "CROP" GIFBUILDER object
Definition at line 1522 of file class.t3lib_stdgraphic.php. References t3lib_div::intExplode(). Referenced by tslib_gifBuilder::make(), and tslib_gifBuilder::start(). |
|
Destroy internal image pointer, $this->im
Definition at line 2569 of file class.t3lib_stdgraphic.php. |
|
Destroy internal image pointer, $this->im
Definition at line 2569 of file class.t3lib_stdgraphic.php. Referenced by tslib_gifBuilder::gifBuild(). |
|
Used to check if a certain process of scaling an image is already being carried out (can be logged in the SQL database)
Definition at line 2277 of file class.t3lib_stdgraphic.php. |
|
Used to check if a certain process of scaling an image is already being carried out (can be logged in the SQL database)
Definition at line 2277 of file class.t3lib_stdgraphic.php. |
|
Function that finds the right fontsize that will render the textstring within a certain width
Definition at line 869 of file class.t3lib_stdgraphic.php. |
|
Function that finds the right fontsize that will render the textstring within a certain width
Definition at line 869 of file class.t3lib_stdgraphic.php. Referenced by tslib_gifBuilder::start(). |
|
Fetch the cached imageDimensions from the MySQL database. Does not check if the image file exists!
Definition at line 2155 of file class.t3lib_stdgraphic.php. References t3lib_div::getURL(). |
|
Fetch the cached imageDimensions from the MySQL database. Does not check if the image file exists!
Definition at line 2155 of file class.t3lib_stdgraphic.php. References t3lib_div::getURL(). |
|
Gets the input image dimensions.
Definition at line 2095 of file class.t3lib_stdgraphic.php. References t3lib_div::inList(). |
|
Gets the input image dimensions.
Definition at line 2095 of file class.t3lib_stdgraphic.php. References t3lib_div::inList(). |
|
Get numbers for scaling the image based on input
Definition at line 2189 of file class.t3lib_stdgraphic.php. |
|
Get numbers for scaling the image based on input
Definition at line 2189 of file class.t3lib_stdgraphic.php. |
|
Returns an image extension for an output image based on the number of pixels of the output and the file extension of the original file. For example: If the number of pixels exceeds $this->pixelLimitGif (normally 10000) then it will be a "jpg" string in return.
Definition at line 2508 of file class.t3lib_stdgraphic.php. |
|
Returns an image extension for an output image based on the number of pixels of the output and the file extension of the original file. For example: If the number of pixels exceeds $this->pixelLimitGif (normally 10000) then it will be a "jpg" string in return.
Definition at line 2508 of file class.t3lib_stdgraphic.php. |
|
Alternative function for using the similar PHP function imagecopyresized(). Used for GD2 only. OK, the reason for this stupid fix is the following story: GD1.x was capable of copying two images together and combining their palettes! GD2 is apparently not. With GD2 only the palette of the dest-image is used which mostly results in totally black images when trying to copy a color-ful image onto the destination. The GD2-fix is to 1) Create a blank TRUE-COLOR image 2) Copy the destination image onto that one 3) Then do the actual operation; Copying the source (top image) onto that 4) ... and return the result pointer. 5) Reduce colors (if we do not, the result may become strange!) It works, but the resulting images is now a true-color PNG which may be very large. So, why not use 'imagetruecolortopalette ($im, TRUE, 256)' - well because it does NOT WORK! So simple is that. For parameters, see PHP function "imagecopyresized()"
Definition at line 486 of file class.t3lib_stdgraphic.php. |
|
Alternative function for using the similar PHP function imagecopyresized(). Used for GD2 only. OK, the reason for this stupid fix is the following story: GD1.x was capable of copying two images together and combining their palettes! GD2 is apparently not. With GD2 only the palette of the dest-image is used which mostly results in totally black images when trying to copy a color-ful image onto the destination. The GD2-fix is to 1) Create a blank TRUE-COLOR image 2) Copy the destination image onto that one 3) Then do the actual operation; Copying the source (top image) onto that 4) ... and return the result pointer. 5) Reduce colors (if we do not, the result may become strange!) It works, but the resulting images is now a true-color PNG which may be very large. So, why not use 'imagetruecolortopalette ($im, TRUE, 256)' - well because it does NOT WORK! So simple is that. For parameters, see PHP function "imagecopyresized()"
Definition at line 486 of file class.t3lib_stdgraphic.php. |
|
Creates a new GDlib image resource based on the input image filename. If it fails creating a image from the input file a blank gray image with the dimensions of the input image will be created instead.
Definition at line 2608 of file class.t3lib_stdgraphic.php. |
|
Creates a new GDlib image resource based on the input image filename. If it fails creating a image from the input file a blank gray image with the dimensions of the input image will be created instead.
Definition at line 2608 of file class.t3lib_stdgraphic.php. Referenced by copyImageOntoImage(), and maskImageOntoImage(). |
|
Writes the input GDlib image pointer to file
Definition at line 2591 of file class.t3lib_stdgraphic.php. |
|
Writes the input GDlib image pointer to file
Definition at line 2591 of file class.t3lib_stdgraphic.php. Referenced by maskImageOntoImage(). |
|
Converts $imagefile to another file in temp-dir of type $newExt (extension).
Definition at line 2007 of file class.t3lib_stdgraphic.php. References t3lib_div::gif_compress(), t3lib_div::inList(), and t3lib_div::shortMD5(). |
|
Converts $imagefile to another file in temp-dir of type $newExt (extension).
Definition at line 2007 of file class.t3lib_stdgraphic.php. References t3lib_div::gif_compress(), t3lib_div::inList(), and t3lib_div::shortMD5(). Referenced by copyImageOntoImage(), and maskImageOntoImage(). |
|
Executes a ImageMagick "convert" on two filenames, $input and $output using $params before them. Can be used for many things, mostly scaling and effects.
Definition at line 2372 of file class.t3lib_stdgraphic.php. |
|
Executes a ImageMagick "convert" on two filenames, $input and $output using $params before them. Can be used for many things, mostly scaling and effects.
Definition at line 2372 of file class.t3lib_stdgraphic.php. Referenced by maskImageOntoImage(). |
|
Returns an array where [0]/[1] is w/h, [2] is extension and [3] is the filename. Using ImageMagick
Definition at line 2338 of file class.t3lib_stdgraphic.php. |
|
Returns an array where [0]/[1] is w/h, [2] is extension and [3] is the filename. Using ImageMagick
Definition at line 2338 of file class.t3lib_stdgraphic.php. |
|
Wrapper for ImageTTFBBox
Definition at line 911 of file class.t3lib_stdgraphic.php. References t3lib_div::freetypeDpiComp(), and prependAbsolutePath(). |
|
Wrapper for ImageTTFBBox
Definition at line 911 of file class.t3lib_stdgraphic.php. References t3lib_div::freetypeDpiComp(), and prependAbsolutePath(). |
|
Wrapper for ImageTTFText
Definition at line 952 of file class.t3lib_stdgraphic.php. References t3lib_div::freetypeDpiComp(), and prependAbsolutePath(). |
|
Wrapper for ImageTTFText
Definition at line 952 of file class.t3lib_stdgraphic.php. References t3lib_div::freetypeDpiComp(), and prependAbsolutePath(). |
|
Returns Image Tag for input image information array.
Definition at line 2579 of file class.t3lib_stdgraphic.php. |
|
Returns Image Tag for input image information array.
Definition at line 2579 of file class.t3lib_stdgraphic.php. |
|
Creating ImageMagick paramters from TypoScript property
Definition at line 1407 of file class.t3lib_stdgraphic.php. References t3lib_div::intExplode(), and t3lib_div::intInRange(). |
|
Creating ImageMagick paramters from TypoScript property
Definition at line 1407 of file class.t3lib_stdgraphic.php. References t3lib_div::intExplode(), and t3lib_div::intInRange(). |
|
Init function. Must always call this when using the class. This function will read the configuration information from $GLOBALS['TYPO3_CONF_VARS']['GFX'] can set some values in internal variables.
Definition at line 224 of file class.t3lib_stdgraphic.php. |
|
Init function. Must always call this when using the class. This function will read the configuration information from $GLOBALS['TYPO3_CONF_VARS']['GFX'] can set some values in internal variables.
Definition at line 224 of file class.t3lib_stdgraphic.php. |
|
Apply input levels to input image pointer (increasing contrast)
Definition at line 1688 of file class.t3lib_stdgraphic.php. References t3lib_div::intInRange(). |
|
Apply input levels to input image pointer (increasing contrast)
Definition at line 1688 of file class.t3lib_stdgraphic.php. References t3lib_div::intInRange(). |
|
Implements the "BOX" GIFBUILDER object
Definition at line 1373 of file class.t3lib_stdgraphic.php. References t3lib_div::intExplode(). |
|
Implements the "BOX" GIFBUILDER object
Definition at line 1373 of file class.t3lib_stdgraphic.php. References t3lib_div::intExplode(). Referenced by tslib_gifBuilder::make(). |
|
Implements the "EFFECT" GIFBUILDER object The operation involves ImageMagick for applying effects
Definition at line 1392 of file class.t3lib_stdgraphic.php. |
|
Implements the "EFFECT" GIFBUILDER object The operation involves ImageMagick for applying effects
Definition at line 1392 of file class.t3lib_stdgraphic.php. Referenced by tslib_gifBuilder::make(). |
|
Implements the "EMBOSS" GIFBUILDER object / property for the TEXT object
Definition at line 1221 of file class.t3lib_stdgraphic.php. References t3lib_div::intExplode(). |
|
Implements the "EMBOSS" GIFBUILDER object / property for the TEXT object
Definition at line 1221 of file class.t3lib_stdgraphic.php. References t3lib_div::intExplode(). Referenced by tslib_gifBuilder::make(). |
|
Implements the "OUTLINE" GIFBUILDER object / property for the TEXT object
Definition at line 1168 of file class.t3lib_stdgraphic.php. References t3lib_div::intInRange(). |
|
Implements the "OUTLINE" GIFBUILDER object / property for the TEXT object
Definition at line 1168 of file class.t3lib_stdgraphic.php. References t3lib_div::intInRange(). Referenced by tslib_gifBuilder::make(). |
|
Implements the "SHADOW" GIFBUILDER object / property for the TEXT object The operation involves ImageMagick for combining.
Definition at line 1243 of file class.t3lib_stdgraphic.php. References t3lib_div::intExplode(), and t3lib_div::intInRange(). |
|
Implements the "SHADOW" GIFBUILDER object / property for the TEXT object The operation involves ImageMagick for combining.
Definition at line 1243 of file class.t3lib_stdgraphic.php. References t3lib_div::intExplode(), and t3lib_div::intInRange(). Referenced by tslib_gifBuilder::make(). |
|
Implements the "TEXT" GIFBUILDER object
Definition at line 535 of file class.t3lib_stdgraphic.php. References prependAbsolutePath(). |
|
Implements the "TEXT" GIFBUILDER object
Definition at line 535 of file class.t3lib_stdgraphic.php. References prependAbsolutePath(). Referenced by tslib_gifBuilder::make(). |
|
Implements the "IMAGE" GIFBUILDER object, when the "mask" property is true. It reads the two images defined by $conf['file'] and $conf['mask'] and copies the $conf['file'] onto the input image pointer image using the $conf['mask'] as a grayscale mask The operation involves ImageMagick for combining.
Definition at line 325 of file class.t3lib_stdgraphic.php. References $workArea, combineExec(), copyGifOntoGif(), imageCreateFromGif(), ImageGif(), imageMagickConvert(), imageMagickExec(), and randomName(). |
|
Implements the "IMAGE" GIFBUILDER object, when the "mask" property is true. It reads the two images defined by $conf['file'] and $conf['mask'] and copies the $conf['file'] onto the input image pointer image using the $conf['mask'] as a grayscale mask The operation involves ImageMagick for combining.
Definition at line 325 of file class.t3lib_stdgraphic.php. References $workArea, combineExec(), copyGifOntoGif(), imageCreateFromGif(), ImageGif(), imageMagickConvert(), imageMagickExec(), and randomName(). Referenced by tslib_gifBuilder::make(). |
|
Create an array with object position/boundaries based on input TypoScript configuration (such as the "align" property is used), the work area definition and $BB array
Definition at line 1928 of file class.t3lib_stdgraphic.php. References t3lib_div::intExplode(). |
|
Create an array with object position/boundaries based on input TypoScript configuration (such as the "align" property is used), the work area definition and $BB array
Definition at line 1928 of file class.t3lib_stdgraphic.php. References t3lib_div::intExplode(). Referenced by copyGifOntoGif(). |
|
Writing the internal image pointer, $this->im, to file based on the extension of the input filename Used in GIFBUILDER Uses $this->setup['reduceColors'] for gif/png images and $this->setup['quality'] for jpg images to reduce size/quality if needed.
Definition at line 2525 of file class.t3lib_stdgraphic.php. References t3lib_div::gif_compress(), and t3lib_div::intInRange(). |
|
Writing the internal image pointer, $this->im, to file based on the extension of the input filename Used in GIFBUILDER Uses $this->setup['reduceColors'] for gif/png images and $this->setup['quality'] for jpg images to reduce size/quality if needed.
Definition at line 2525 of file class.t3lib_stdgraphic.php. References t3lib_div::gif_compress(), and t3lib_div::intInRange(). Referenced by tslib_gifBuilder::gifBuild(). |
|
Apply output levels to input image pointer (decreasing contrast)
Definition at line 1656 of file class.t3lib_stdgraphic.php. References t3lib_div::intInRange(). |
|
Apply output levels to input image pointer (decreasing contrast)
Definition at line 1656 of file class.t3lib_stdgraphic.php. References t3lib_div::intInRange(). |
|
Checks if the $fontFile is already at an absolute path and if not, prepends the correct path. Use PATH_site unless we are in the backend. Call it by t3lib_stdGraphic::prependAbsolutePath()
Definition at line 1757 of file class.t3lib_stdgraphic.php. References t3lib_div::isAbsPath(). |
|
Checks if the $fontFile is already at an absolute path and if not, prepends the correct path. Use PATH_site unless we are in the backend. Call it by t3lib_stdGraphic::prependAbsolutePath()
Definition at line 1757 of file class.t3lib_stdgraphic.php. References t3lib_div::isAbsPath(). Referenced by ImageTTFBBoxWrapper(), ImageTTFTextWrapper(), and makeText(). |
|
Returns a random filename prefixed with "temp_" and then 32 char md5 hash (without extension) from $this->tempPath. Used by functions in this class to create truely temporary files for the on-the-fly processing. These files will most likely be deleted right away.
Definition at line 1807 of file class.t3lib_stdgraphic.php. |
|
Returns a random filename prefixed with "temp_" and then 32 char md5 hash (without extension) from $this->tempPath. Used by functions in this class to create truely temporary files for the on-the-fly processing. These files will most likely be deleted right away.
Definition at line 1807 of file class.t3lib_stdgraphic.php. Referenced by maskImageOntoImage(). |
|
Recode string Used with text strings for fonts when languages has other character sets.
Definition at line 1883 of file class.t3lib_stdgraphic.php. |
|
Recode string Used with text strings for fonts when languages has other character sets.
Definition at line 1883 of file class.t3lib_stdgraphic.php. |
|
Reduce colors in image
Definition at line 1719 of file class.t3lib_stdgraphic.php. |
|
Reduce colors in image
Definition at line 1719 of file class.t3lib_stdgraphic.php. |
|
Implements the "SCALE" GIFBUILDER object
Definition at line 1552 of file class.t3lib_stdgraphic.php. |
|
Implements the "SCALE" GIFBUILDER object
Definition at line 1552 of file class.t3lib_stdgraphic.php. Referenced by tslib_gifBuilder::make(). |
|
Implements the "WORKAREA" GIFBUILDER object when setting it Setting internal working area boundaries (->workArea)
Definition at line 1584 of file class.t3lib_stdgraphic.php. References t3lib_div::intExplode(). |
|
Implements the "WORKAREA" GIFBUILDER object when setting it Setting internal working area boundaries (->workArea)
Definition at line 1584 of file class.t3lib_stdgraphic.php. References t3lib_div::intExplode(). Referenced by tslib_gifBuilder::make(), and tslib_gifBuilder::start(). |
|
Split a string into an array of individual characters The function will look at $this->nativeCharset and if that is set, the input string is expected to be UTF-8 encoded, possibly with entities in it. Otherwise the string is supposed to be a single-byte charset which is just splitted by a for-loop.
Definition at line 1905 of file class.t3lib_stdgraphic.php. |
|
Split a string into an array of individual characters The function will look at $this->nativeCharset and if that is set, the input string is expected to be UTF-8 encoded, possibly with entities in it. Otherwise the string is supposed to be a single-byte charset which is just splitted by a for-loop.
Definition at line 1905 of file class.t3lib_stdgraphic.php. |
|
Printing text onto an image like the PHP function imageTTFText does but in addition it offers options for spacing of letters and words. Spacing is done by printing one char at a time and this means that the spacing is rather uneven and probably not very nice. See
Definition at line 832 of file class.t3lib_stdgraphic.php. |
|
Printing text onto an image like the PHP function imageTTFText does but in addition it offers options for spacing of letters and words. Spacing is done by printing one char at a time and this means that the spacing is rather uneven and probably not very nice. See
Definition at line 832 of file class.t3lib_stdgraphic.php. |
|
Splitting a string for ImageTTFBBox up into an array where each part has its own configuration options.
Definition at line 997 of file class.t3lib_stdgraphic.php. References t3lib_div::inList(), t3lib_div::intExplode(), t3lib_TStemplate::sortedKeyList(), and t3lib_div::trimExplode(). |
|
Splitting a string for ImageTTFBBox up into an array where each part has its own configuration options.
Definition at line 997 of file class.t3lib_stdgraphic.php. References t3lib_div::inList(), t3lib_div::intExplode(), t3lib_TStemplate::sortedKeyList(), and t3lib_div::trimExplode(). |
|
Calculates text position for printing the text onto the image based on configuration like alignment and workarea.
Definition at line 651 of file class.t3lib_stdgraphic.php. References t3lib_div::intExplode(). |
|
Calculates text position for printing the text onto the image based on configuration like alignment and workarea.
Definition at line 651 of file class.t3lib_stdgraphic.php. References t3lib_div::intExplode(). |
|
Returns the IM command for blurring with ImageMagick 5 (when $this->V5_EFFECTS is set). Uses $this->im5fx_blurSteps for translation of the factor to an actual command.
Definition at line 1790 of file class.t3lib_stdgraphic.php. References t3lib_div::intInRange(). |
|
Returns the IM command for blurring with ImageMagick 5 (when $this->V5_EFFECTS is set). Uses $this->im5fx_blurSteps for translation of the factor to an actual command.
Definition at line 1790 of file class.t3lib_stdgraphic.php. References t3lib_div::intInRange(). |
|
Returns the IM command for sharpening with ImageMagick 5 (when $this->V5_EFFECTS is set). Uses $this->im5fx_sharpenSteps for translation of the factor to an actual command.
Definition at line 1771 of file class.t3lib_stdgraphic.php. References t3lib_div::intInRange(). |
|
Returns the IM command for sharpening with ImageMagick 5 (when $this->V5_EFFECTS is set). Uses $this->im5fx_sharpenSteps for translation of the factor to an actual command.
Definition at line 1771 of file class.t3lib_stdgraphic.php. References t3lib_div::intInRange(). |
|
Wrapping the input filename in double-quotes
Definition at line 2405 of file class.t3lib_stdgraphic.php. |
|
Wrapping the input filename in double-quotes
Definition at line 2405 of file class.t3lib_stdgraphic.php. |
|
Initial value: Array ( 'jpg' => '', 'jpeg' => '', 'gif' => '-colors 64', 'png' => '-colors 64' ) Definition at line 162 of file class.t3lib_stdgraphic.php. |
|
Initial value: Array ( // Array mapping HTML color names to RGB values.
'aqua' => Array(0,255,255),
'black' => Array(0,0,0),
'blue' => Array(0,0,255),
'fuchsia' => Array(255,0,255),
'gray' => Array(128,128,128),
'green' => Array(0,128,0),
'lime' => Array(0,255,0),
'maroon' => Array(128,0,0),
'navy' => Array(0,0,128),
'olive' => Array(128,128,0),
'purple' => Array(128,0,128),
'red' => Array(255,0,0),
'silver' => Array(192,192,192),
'teal' => Array(0,128,128),
'yellow' => Array(255,255,0),
'white' => Array(255,255,255)
)
Definition at line 191 of file class.t3lib_stdgraphic.php. |