[TYPO3-english] Imagemagik configuration in install tool
david at smeringe.se
Tue Dec 16 09:55:12 CET 2008
see below.. (afaik - removing all responsibilities whatsoever but still
telling everyone how to do things :D)
Merea AB - TYPO3 consultancy firm in Sweden
J. Bakshi skrev:
> Hello all,
> From the very beginning I have followed to use imagemagik-4.2.9 as
> described in the install tool for linux servers. But it is not the
> *only* issue to get /render images right way. there are also some
> configuration in localconf.php which control a lot. So I like to know
> "what is the best practice to configure imagemagik ? " In my suse 11
> server I have the following settings ( with imagemagik-4.2.9 installed )
> $TYPO3_CONF_VARS['GFX']["gdlib"] = '1';
> $TYPO3_CONF_VARS['GFX']["im"] = '1';
> $TYPO3_CONF_VARS['GFX']['im_combine_filename'] = 'combine';
> $TYPO3_CONF_VARS['GFX']["im_path"] = "/usr/local/typo3sh/bin/";
> $TYPO3_CONF_VARS['GFX']["im_path_lzw"] = "/usr/local/typo3sh/bin/";
> **$TYPO3_CONF_VARS['GFX']['im_version_5'] = 'im5';
> $TYPO3_CONF_VARS['GFX']['gdlib_2'] = '1';
> The questions are
> 1> ['im_version_5'] = 'im5' ; should I use im4 as am using 4.2.9
Yes, I would when using im 4.2.9.
> 2> ['gdlib_2'] = '1'; what is the benifit to use gdlib_2 ?
it's about letting typo3 know wether you have gd2 or the old gd library
and not if you should enable gd2 or not..
Most probably you have gd version 2.x as it's normally bundled with PHP
- I don't know - 4.3 something?
> 3> ['im_combine_filename'] = 'combine'; what are the differences btwn
> composite , combine etc.... ?
In short - it's different depending on IM version.. ..or as the install
tool hints; "Latest ImageMagick versions has changed the name of combine
to composite. Configure here if needed."
> hope someone kindly solve my confusions.
More information about the TYPO3-english