[TYPO3-core] RFC: im_version_5 as a string

Michael Stucki michael at typo3.org
Thu Jan 26 17:00:08 CET 2006


Hi Martin,

> +1

Fixed in CVS.

I have changed the function slightly:

- If the value of im_version_5 is "im4", the value is unset in order to have
the same result like if it was set to 0.

- The check for "gm" is now inside the check for im_version_5 (gives an
enourmeous speed boost!)

> Though renaming to $TYPO3_CONF_VARS['GFX']['im_version'] would have been
> better ;-)

You can start working on that, if you want :-)

> BTW it'd be great if $TYPO3_CONF_VARS['GFX']['im_version'] would set
> defaults for:
> 
> $TYPO3_CONF_VARS['GFX']['im_combine_filename']
> $TYPO3_CONF_VARS['GFX']['im_imvMaskState']
> $TYPO3_CONF_VARS['GFX']['im_v5effects']
> 
> So they become override settings. Or why do we need them if we have the
> version number of ImageMagick?

It does so if im_version_5 is set to "gm" (GraphicsMagick). I trust Bob that
his software won't change, but I don't want to risk the same for IM.

So if you use GraphicsMagick, only im_path and im_version_5 will need to be
set!

- michael
-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/



More information about the TYPO3-team-core mailing list