[TYPO3-english] alpha background GIFBUILDER TYPO3 problem

Lukas Stancik lukas.stancik at robe.cz
Tue Aug 4 22:45:28 CEST 2009


Hi Francisco,

IMHO it can not be achieved at all. I mean without changing the core.
The combine/composite command of ImageMagick is always called with 
"+matte" option (see t3lib/class.stdgraphic.php around line 2549) which 
disables the alpha channel of the output image.

I have tried to set it to "-matte" and "-alpha On" but without any effect :(

But trying to run this in console:
Note: image1.png contains some graphic with transparent background, 
image2.png is fully opaque

composite -compose src-over -matte image2.png image1.png output.png

behaves as intended = the resulting image is a composition of the two 
images with transparent background...

Regards,

Lukas

Francisco Cifuentes napsal(a):
> I get the combined image, but the background lose the transparency.
> 
> 
> ________________________
> 
> Francisco A. Cifuentes Silva
> Ingeniero de Proyectos
> Instituto de Inform�tica Educativa
> Universidad de la Frontera
> Temuco, Chile
> Tel: +56 45 325277
> Fax: +56 45 325263
> http://www.iie.ufro.cl
> 
> 
> 
> 2009/8/3 Tomas Mrozek <mail at cascaval.com>
> 
>> Can you upload somewhere those two images ("background.png" and
>> "imageToShow.jpg") and the output image that you get?
>>
>> Tomas Mrozek
>> _______________________________________________
>> TYPO3-english mailing list
>> TYPO3-english at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>>


More information about the TYPO3-english mailing list