[Typo3] gamma-correction in own Extension

Peter Klein peter at umloud.dk
Tue Dec 6 17:34:25 CET 2005


Hi George. 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..)

Then inside the GIFBUILDER object you create an EFFECT object to set/control 
the gamma.
More info on GifBuilder here:
http://typo3.org/documentation/document-library/doc_core_tsref/Objectnames_in_this/

---
Peter Klein / Umloud Untd

"Georg Ringer" <spam at ringerge.org> wrote in message 
news:mailman.1.1133883951.11303.typo3-english at lists.netfielders.de...
> Hi,
>
> I'm getting an image out of the DB and making this
>   $imgTSConfig = Array();
>   $imgTSConfig['file'] = 'uploads/tx_rgwallpapermodern/'. $row['image'];
>   $imgTSConfig['file.']['maxW'] = $this->config['widthLarge'];
>   $imgTSConfig['file.']['maxH'] = $this->config['heightLarge'];
>   $imgTSConfig['altText'] = $row['title'];
>   $imgTSConfig['titleText'] = $row['title'];
>   $markerArray['###SINGLE_IMAGE###'] = $this->cObj->IMAGE($imgTSConfig);
>
> Now i want to make a gamma correction with the image (to brighten the 
> image) but I have absolutly no clue how do that (without using e.g. CSS)
>
> Many thanks for help!
> Georg
> 





More information about the TYPO3-english mailing list