[Typo3] gamma-correction in own Extension

Peter Klein peter at umloud.dk
Tue Dec 6 21:07:25 CET 2005


Hi George.. Check this old thread in the archive.. It should help you in the 
right direction..
http://typo3.org/documentation/mailing-lists/english-main-list-archive/thread/61085/

---
Peter Klein / Umloud Untd

"Georg Ringer" <spam at ringerge.org> wrote in message 
news:mailman.1.1133888924.21077.typo3-english at lists.netfielders.de...
> Hi Peter,
>> You need to create your IMAGE as a GIFBUILDER object.. (More or less the 
>> same way you already create the IMAGE, except it needs *several* more 
>> parameters..)
>
> I tried but i only get a white image :/
> my Code:
>   $itc = Array();
>   $itc['file'] = 'GIFBUILDER';
>   $itc['file.']['10'] = 'IMAGE';
>   $itc['file.']['10.']['file'] = 'uploads/tx_rgwallpapermodern/'. 
> $row['image'];
>   $itc['file.']['10.']['file']['maxW'] = 400;
>   $itc['file.']['10.']['file']['maxH'] = 300;
>   $itc['file.']['20'] = 'EFFECT';
>   $itc['file.']['20.']['value'] = 'gamma=3';
>   $markerArray['###SINGLE_IMAGE###'] = $this->cObj->IMAGE($itc);
>
> No matter if i use the settings with ['20'] or not.
> Can you please give me another hint?
>
> thanks a lot!!
> Georg
> 





More information about the TYPO3-english mailing list