title: Why Typo3 generates poor quality by convert PNG to PNG with imagemagick?
body: <p>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:</p>
  
  <p>/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</p>
  
  <p>This is the output of this command</p>
  
  <p><img src="https://i.stack.imgur.com/QoKw8.png" alt="enter image description here"> </p>
  
  <p>And this is the refference Image:</p>
  
  <p><img src="https://i.stack.imgur.com/uE8FT.png" alt="enter image description here"></p>
  
  <p>Can anybody explain what is wrong? Any suggestion to solve or debug the problem? </p>
  
  <p>I try to update the imagemagick to current version but I still have this issue.</p>
  
  <p>This is GFX section in localconf</p>
  
  <pre><code>$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'
  </code></pre>
  
  <p>Under Basic Configuration of Typo3 is following Content under GDLIB Section:</p>
  
  <p><img src="https://i.stack.imgur.com/3ZiZK.png" alt="enter image description here"></p>