[Typo3-linux] Problems with ImageMagick 5.5.7
Franz Holzinger
franz at fholzinger.com
Mon Sep 19 17:12:08 CEST 2005
Hello Michael,
>
>
>>I am having problems with ImageMagick version 5.5.7 since my provider
>>has upgraded a number of his servers to this latest version composite
>>produces the opposite result and effects are not working. this is not a
>>problem of the conf vars [im_negate_mask] and [GFX][im_imvMaskState],
>>changing these has no effect on the result.
>
>
> This will help: http://www.mstucki.net/files/typo3/imagemagick6_wrapper/
> I recently found out that this works with some IM5.x releases, too.
>
thanks.
I just tried to use this without any success in TYPO3 3.8 and SUSE 9.1.
lvps80-237-162-116:/usr/local/imagemagick6 # ls -l
total 9
drwxr-xr-x 2 root root 1024 Sep 19 17:00 .
drwxr-xr-x 13 root root 1024 Sep 19 16:39 ..
lrwxrwxrwx 1 root root 23 Sep 19 16:50 composite ->
imagemagick6_wrapper.sh
lrwxrwxrwx 1 root root 23 Sep 19 16:50 convert ->
imagemagick6_wrapper.sh
lrwxrwxrwx 1 root root 23 Sep 19 16:50 identify ->
imagemagick6_wrapper.sh
-rwxr-xr-x 1 root root 2184 Sep 19 16:40 imagemagick6_wrapper.sh
-rwxr-xr-x 1 root root 167 Sep 19 16:50 install.sh
lvps80-237-162-116:/usr/bin # rpm -ql ImageMagick
/usr/bin/animate
/usr/bin/composite
/usr/bin/conjure
/usr/bin/convert
/usr/bin/display
/usr/bin/identify
/usr/bin/import
/usr/bin/mogrify
/usr/bin/montage
/usr/bin/xtp
/usr/lib/ImageMagick-5.5.7
Install-Tool:
Check Image Magick:
No ImageMagick install available
It seems that there is no adequate ImageMagick installation available at
the checked locations (, /usr/local/php/bin/, /usr/local/imagemagick6)
An 'adequate' installation for requires 'convert', 'combine'/'composite'
and 'identify' to be available
Search for ImageMagick:
Check LZW capabilities.
Check this path for ImageMagick installation:
(Eg. "D:\wwwroot\im537\ImageMagick\" for windows or "/usr/bin/" for Unix)
The install tool never finds Image Magick, even given the correct Path.
$TYPO3_CONF_VARS["GFX"]["gif_compress"] = '1';
$TYPO3_CONF_VARS["GFX"]["thumbnails_png"] = '0'; # # GD library settings
# $TYPO3_CONF_VARS["GFX"]["gdlib_png"] = '1';
$TYPO3_CONF_VARS["GFX"]["gdlib_2"] = '1';
$TYPO3_CONF_VARS["GFX"]["TTFdpi"] = '96'; # # ImageMagick settings #
$TYPO3_CONF_VARS["GFX"]["im_path"] = '/usr/local/imagemagick6';
$TYPO3_CONF_VARS["GFX"]["im_path_lzw"] = ''; // Modified or inserted by
TYPO3 Install Tool.
$TYPO3_CONF_VARS["GFX"]["im_version_5"] = '1';
$TYPO3_CONF_VARS["GFX"]["im_imvMaskState"] = '1';
$TYPO3_CONF_VARS["GFX"]["im_v5effects"] = '-1';
$TYPO3_CONF_VARS["GFX"]["im_combine_filename"] = 'composite';
$TYPO3_CONF_VARS["GFX"]["im_negate_mask"] = '1';
What did I do wrong?
There is 1 error in the scriptimagemagick6_wrapper.sh :
IM_STRING=$(${EXPECTED_IM} -version |head -n1 | awk '{print $2}')
-version is the correct parameter
Franz
More information about the TYPO3-linux
mailing list