[TYPO3-dev] unable to scale image mask
Cyrill Helg
phlogsmailinglists at gmail.com
Mon Sep 15 22:30:23 CEST 2008
Hi TYPO3 freaks :)
I wanted to use TS to create a watermark in images. The point is that I wanted
to scale the watermarks:
parameter.cObject = IMG_RESOURCE
parameter.cObject.file = GIFBUILDER
parameter.cObject.file{
//format = gif
//quality = 90
XY = [10.w],[10.h]
10 = IMAGE
// 10.file is set the by the extension!
20 = IMAGE
20.offset = [10.w]-[20.w]/2,[10.h]-[20.w]/2
20.file = fileadmin/wasserzeichen_s.png
20.file.width = [10.w] *
20.file.height = [10.h] *
20.mask = fileadmin/wasserzeichen_m2_inv.png
20.mask.file.width = [10.w] *
20.mask.file.height = [10.h] *
But as soon as I add those lines marked with a *, the colors of the watermark
are lost and the image does not scale.
I'm wondering if this is a bug or just a limitation of TS/GIFBUILDER?
Thanks for your help
Cyrill Helg
More information about the TYPO3-dev
mailing list