[TYPO3] GIF --> JPEG

Søren Schimkat schimkat at hum.aau.dk
Tue Oct 17 19:42:33 CEST 2006


JoH asenau skrev:
>> In a Flexible content object, I got this code which works just fine:
>>
>> <TypoScript>
>>    10 = IMAGE
>>    10.file = GIFBUILDER
>>    10.file {
>>        XY = 300,195
>>        10 = IMAGE
>>        10.file.import = uploads/tx_templavoila/
>>        10.file.import.current = 1
>>        10.file.import.listNum = 0
>>        10.file.maxW = 300
>>        10.file.minW = 300
>>        10.file.maxH = 195
>>        10.file.minH = 195
>>    }
>> </TypoScript>
>>
>> .. but I would rather output jpeg images instead. Could someone guide
>> me to the documentation on how to do that?
>>     
>
> <TypoScript>
>     10 = IMAGE
>     10.file = GIFBUILDER
>     10.file {
>         format = jpg
>         XY = 300,195
>         blah
>         ...
>         blah
>     }
> </TypoScript>
>
> Joey
>
>   

Thanks for the tip - but that wasn´t exatly what I needed. :-)

The reason for choosing jpeg was to get nice looking truecolor images 
instead of the not-so-nice looking 8bit images. I guess that I have to 
rewrite the code - but I´m not sure what to do. :-)

Regards Søren



More information about the TYPO3-english mailing list