1
votes

All my sites works fine, after some updates in the last weeks I realize that the quality of PNG are very bad. I use Typo3 4.5.27 and imagemagick 6.6.0.4, Typo3 called following command:

/usr/local/bin/convert -strip -geometry 150x120! /var/www/introductionpackage-4.5.27/typo3/sysext/install/imgs/jesus2_transp.png[0] /var/www/introductionpackage-4.5.27/typo3temp/pics/install_scale_png.png

This is the output of this command

enter image description here

And this is the refference Image:

enter image description here

Can anybody explain what is wrong? Any suggestion to solve or debug the problem?

I try to update the imagemagick to current version but I still have this issue.

This is GFX section in localconf

$TYPO3_CONF_VARS['GFX']['gdlib_2'] = '0';
$TYPO3_CONF_VARS['GFX']['im_combine_filename'] = 'composite';
$TYPO3_CONF_VARS['GFX']['im_version_5'] = 'im6';        
$TYPO3_CONF_VARS['GFX']['im_path_lzw'] = '/usr/local/bin/';     
$TYPO3_CONF_VARS['GFX']['im_imvMaskState'] = '1';      
$TYPO3_CONF_VARS['GFX']['im_negate_mask'] = '0';       
$TYPO3_CONF_VARS['GFX']['im_path'] = '/usr/local/bin/';       
$TYPO3_CONF_VARS['GFX']['im_stripProfileCommand'] = '-strip';   
$TYPO3_CONF_VARS['GFX']['png_truecolor'] = '1'; 
$TYPO3_CONF_VARS['GFX']['im_v5effects'] = '0';  
$TYPO3_CONF_VARS['GFX']['gdlib_png'] = '1'

Under Basic Configuration of Typo3 is following Content under GDLIB Section:

enter image description here

1
Please check if "png_truecolor" is set to true in install tool -> all configuration. - Merec
png_truecolor is set to TRUE, I edit my question. - kockiren
It looks like the image just uses 256 colors like GIF does. What about $TYPO3_CONF_VARS['GFX']['gdlib_png'] = '1';. Check the settings in "Basic Configurations". - Merec
Yes, and it looks like a error with the Background, too. The Background is not transparent. I set $TYPO3_CONF_VARS['GFX']['gdlib_png'] = '1' in the localconf but nothing will changed. - kockiren
What Setting especially you mean in the basic configuration? - kockiren

1 Answers

0
votes

since the branch from ImageMagick many improvements have been made. It can also be installed over ftp if there is no shell access. http://wiki.typo3.org/GraphicsMagick