[TYPO3-english] ImageMagick and GraphicsMagick problem

Ryan Kristensen newsletter at ryankristensen.invalid
Tue Nov 12 13:32:34 CET 2013


Den 11-11-2013 11:45, Jigal van Hemert skrev:> Hi,
 >
 > On 11-11-2013 10:04, Ryan Kristensen wrote:
 >> 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.
 >
 > This is very likely a configuration problem for ImageMagick. Are the
 > image tests in the Install Tool working correctly?

Yes, the images in the Install Tool are working correctly.
gdlib_png was set to 0, I have changed this and this seems to have 
solved /most/ of the problems. Now GraphicsMagick works with both width 
and height set to 100c.
In ImageMagick the images are no longer black but mask, niceText and 
shadow still doesn't work as I would expect.

I've created 2 test pages (introductionpackage) where one uses 
ImageMagick and the other uses GraphicsMagick. See the difference here:
http://gm.ryankristensen.com
http://im6.ryankristensen.com
I've taken the images from the first example here 
http://wiki.typo3.org/GIFBUILDER

In ImageMagick mask makes the logo disappear. I've tried both the 
regular image mask and the inverted from the WIKI page
When changing the value for niceText to 1 the text also disappears in 
ImageMagic.
With shadow neither opacity, blur or intensity seems to make any 
difference. In GraphicsMagick the shadow is rendered as I would expect.


The code for the top image is:
   lib.test = IMAGE
   lib.test {
   	file = GIFBUILDER
   	file {
   		XY = 1024,768
   		format = jpg
   		quality = 88
   		10 = IMAGE
   		10.file = fileadmin/backimage.jpg

   		15 = IMAGE
   		15.offset = 420,18
   		15.file = fileadmin/Logo.png
   		15.mask = fileadmin/Mask.png
		20 = TEXT
		20 {
			text = THIS IS A TEST
			offset = 150,200
			fontColor = #FFFFFF
			fontSize = 50
			niceText = 0
			shadow {
				offset = 20,20
				blur = 60
				opacity = 40
				color = #000000
			}
		}
   	}
   }

 > Could you please mention your TYPO3 version?

Typo3 v. 6.1.5

My graphics settings are:
'GFX' => array(
	'gdlib_png' => '1',
	'im_path_lzw' => '',
	'im_version_5' => 'im6',
	'jpg_quality' => '80',
),

Regards,
Ryan



More information about the TYPO3-english mailing list