[TYPO3-english] Imagemagik configuration in install tool
joydeep at infoservices.in
Tue Dec 16 10:46:10 CET 2008
David Smeringe wrote:
> see below.. (afaik - removing all responsibilities whatsoever but still
> telling everyone how to do things :D
> David Smeringe
> Blog: http://people.merea.se/david
> LinkIn: http://www.linkedin.com/in/davidsmeringe
> 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."
Thanks a lot for the discussion. regarding php ; it is version 5.2 and
gd version is 2.0.36
as the latest IM uses the name "composite" I think I should stick with
"combine" as here the IM version is 4.2.9
what do you think ?
some times there are some halfway generated images; the ( half of image
) top is created but the rest half i.e. bottom portion is black. If I
delete all the images from temp folder typo3 creates the full images. I
really have no clue of this strange happening. Do you have any clue ?
Thanks a lot
>> hope someone kindly solve my confusions.
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
Joydeep Bakshi, Linux System Admin
Kolkatainfoservices Pvt Ltd,
23A Royd Street, Kolkata 700016, India
Work Phone 91 033 40014784
More information about the TYPO3-english