Bug #14811 ยป class.tx_install.php.diff
/var/www/typo3_src-3.8.0/typo3/sysext/install/mod/class.tx_install.php 2005-06-10 23:13:03.000000000 -0400 | ||
---|---|---|
GDLib 2 enabled: <strong>".$GLOBALS["TYPO3_CONF_VARS"]["GFX"]["gdlib_2"]."</strong>
|
||
IM5 effects enabled: <strong>".$GLOBALS["TYPO3_CONF_VARS"]["GFX"]["im_v5effects"]."</strong> (Blurring/Sharpening with IM 5+)
|
||
Freetype DPI: <strong>".$GLOBALS["TYPO3_CONF_VARS"]["GFX"]["TTFdpi"]."</strong> (Should be 96 for Freetype 2)
|
||
Mask invert: <strong>".$GLOBALS["TYPO3_CONF_VARS"]["GFX"]["im_imvMaskState"]."</strong> (Should be set for some IM versions approx. 5.4+)
|
||
Mask invert: <strong>".$GLOBALS["TYPO3_CONF_VARS"]["GFX"]["im_negate_mask"]."</strong> (Should be set for some IM versions approx. 5.2+)
|
||
File Formats: <strong>".$GLOBALS["TYPO3_CONF_VARS"]["GFX"]["imagefile_ext"]."</strong>
|
||
";
|
||
... | ... | |
$imageProc->makeBox($im,$conf,$workArea);
|
||
$output = $imageProc->tempPath.$imageProc->filenamePrefix.t3lib_div::shortMD5("GDbox").".".$imageProc->gifExtension;
|
||
$imageProc->ImageGif ($im,$output);
|
||
t3lib_div::fixPermissions($output);
|
||
$fileInfo = $imageProc->getImageDimensions($output);
|
||
$result = $this->displayTwinImage($fileInfo[3],$imageProc->IM_commands);
|
||
$this->message($headCode,"Create simple image",$result[0],$result[1]);
|
||
... | ... | |
$imageProc->makeBox($im,$conf,$workArea);
|
||
$output = $imageProc->tempPath.$imageProc->filenamePrefix.t3lib_div::shortMD5("GDfromImage+box").".".$imageProc->gifExtension;
|
||
$imageProc->ImageGif ($im,$output);
|
||
t3lib_div::fixPermissions($output);
|
||
$fileInfo = $imageProc->getImageDimensions($output);
|
||
$GDWithBox_filesize = @filesize($output);
|
||
$result = $this->displayTwinImage($fileInfo[3],$imageProc->IM_commands);
|
||
... | ... | |
$output = $imageProc->tempPath.$imageProc->filenamePrefix.t3lib_div::shortMD5("GDwithText").".".$imageProc->gifExtension;
|
||
$imageProc->ImageGif ($im,$output);
|
||
t3lib_div::fixPermissions($output);
|
||
$fileInfo = $imageProc->getImageDimensions($output);
|
||
$result = $this->displayTwinImage($fileInfo[3],$imageProc->IM_commands);
|
||
$this->message($headCode,"Render text with TrueType font",$result[0],$result[1]);
|
||
... | ... | |
$output = $imageProc->tempPath.$imageProc->filenamePrefix.t3lib_div::shortMD5("GDwithText-niceText").".".$imageProc->gifExtension;
|
||
$imageProc->ImageGif ($im,$output);
|
||
t3lib_div::fixPermissions($output);
|
||
$fileInfo = $imageProc->getImageDimensions($output);
|
||
$result = $this->displayTwinImage($fileInfo[3],$imageProc->IM_commands, array("Note on 'niceText':","'niceText' is a concept that tries to improve the antialiasing of the rendered type by actually rendering the textstring in double size on a black/white mask, downscaling the mask and masking the text onto the image through this mask. This involves ImageMagick 'combine'/'composite' and 'convert'."));
|
||
$this->message($headCode,"Render text with TrueType font using 'niceText' option",
|
||
... | ... | |
$output = $imageProc->tempPath.$imageProc->filenamePrefix.t3lib_div::shortMD5("GDwithText-niceText-shadow").".".$imageProc->gifExtension;
|
||
$imageProc->ImageGif ($im,$output);
|
||
t3lib_div::fixPermissions($output);
|
||
$fileInfo = $imageProc->getImageDimensions($output);
|
||
$result = $this->displayTwinImage($fileInfo[3],$imageProc->IM_commands, array("Note on drop shadows:","Drop shadows are done my using ImageMagick to blur a mask through which the drop shadow is generated. The blurring of the mask only works in ImageMagick 4.2.9 and <i>not</i> ImageMagick 5 - which is why you may see a hard and not soft shadow."));
|
||
$this->message($headCode,"Render 'niceText' with a shadow under",
|