[TYPO3-core] RFC: #10025: ImageMagick generates larger than necessary files

Thorsten Kahler thorsten.kahler at dkd.de
Mon Feb 16 10:27:03 CET 2009


Hi,

Franz Koch schrieb am 02.02.2009 11:38 Uhr:
> 
> looks good to me now, except one thing I'm not sure about, as I'm not 
> that deep in the inner structure of the core.
> 
> Is the t3lib_div::imageMagicCommand method called for every image 
> processing/generation in typo3? If so, there has to be a way to disable 
> the stripping from within TS, because there are usecases where you might 
> need to render the file with all profiles / EXIF data etc. (like in some 
> galleries where you provide downloads in different resolutions or 
> something like that).
> 

I strongly support Franz' point! If the "-strip" option is hardcoded in
PHP there's no chance to keep meta data.

The imgResource function already offers an option "params" which can be
used to remove profile information.

Regards
Thorsten


-- 

Thorsten Kahler
. . . . . . . . . . . .
Je TYPO3, desto d.k.d

d.k.d Internet Service GmbH
Kaiserstr. 79
D - 60329 Frankfurt / Main

Registergericht: Amtsgericht Frankfurt am Main
Registernummer: HRB 45590
Geschäftsführer: Olivier Dobberkau, Sören Schaffstein, Götz Wegenast

fon:  +49 (0)69 43 05 61 - 70
fax:  +49 (0)69 43 05 61 - 90
mail: thorsten.kahler at dkd.de
home: http://www.dkd.de

Aktuelle TYPO3-Projekte:
www.lahmeyer.de - Launch (TYPO3)
www.licht.de  - Relaunch (TYPO3)
www.seb-assetmanagement.de - Relaunch (TYPO3)


More information about the TYPO3-team-core mailing list