[TYPO3-english] ImageMagick and GraphicsMagick problem
Ryan Kristensen
newsletter at ryankristensen.invalid
Mon Nov 11 10:04:39 CET 2013
Hi.
I have some problems with imagerendering when using gifbuilder.
With ImageMagick (6.6.9-7) the image is all black when either mask or
nicetext = 1 is added (example 1 below). This works fine when using
GraphicsMagick.
With GraphicsMagick (1.3.12) the image is blank when I try to set both
width and height to crop (example 2 below). When only one of the values
is e.g. 100c the image works fine. Having both width and height set to
100c works fine with ImageMagick.
Is this normal behavior or is it my server installation (Ubuntu 12.04)?
Does anyone have any idea how to make both features available in the
same Typo3 installation?
Example 1:
lib.pageImage.1.file = GIFBUILDER
lib.pageImage.1.file {
XY = 600,140
format = jpg
quality = 100
backColor = #000000
10 = IMAGE
10.file {
import.data = levelmedia: -1, slide
import.listNum = rand
width = 600
treatIdAsReference = 1
}
15 = IMAGE
15 {
offset = 440,-5
file = fileadmin/logo4.png
mask = fileadmin/mask2.png
}
20 = TEXT
20 {
text.data = levelfield :-2, title, slide
text.case = lower
fontColor = #FFFFFF
fontSize = 30
offset = 20,55
niceText = 1
}
}
Example 2:
$image['img'] = 'IMAGE';
$image['img.']['file'] = 'GIFBUILDER';
$image['img.']['file.'] = array();
$image['img.']['file.']['format'] = 'jpg';
$image['img.']['file.']['XY'] = '70,100';
$image['img.']['file.'][10] = 'IMAGE';
$image['img.']['file.']['10.']['file'] = $imageFile;
$image['img.']['file.']['10.']['file.']['width'] = '70c';
$image['img.']['file.']['10.']['file.']['height'] = '158c';
$image['img.']['file.'][20] = 'EFFECT';
$image['img.']['file.']['20.']['value'] = 'gray | gamma=1.2';
Regards,
Ryan Kristensen
More information about the TYPO3-english
mailing list