Russian TYPO3 community

Russian TYPO3 community (http://forum.typo3.ru/index.php)
-   Общие вопросы (http://forum.typo3.ru/forumdisplay.php?f=12)
-   -   Прозрачность в imagemagick (http://forum.typo3.ru/showthread.php?t=9622)

oxenbash 02.08.2011 19:43

Прозрачность в imagemagick
 
Текст для меню конвертится в png. Используется imagemagick-6.7.1.0 (Gentoo). Фон получается чёрным, хотя ожидается, что будет прозрачным. Вероятно, проблема не нова. Подскажите, пожалуйста, как добиться корректной работы?

oxenbash 09.08.2011 17:23

Проблема решена методом проб и ошибок.

$TYPO3_CONF_VARS['GFX']['gdlib_2'] = '1';
$TYPO3_CONF_VARS['GFX']['gdlib_png'] = '1';
$TYPO3_CONF_VARS['GFX']['TTFdpi'] = '72';
$TYPO3_CONF_VARS['GFX']['png_truecolor'] = '1';
$TYPO3_CONF_VARS['GFX']['gif_compress'] = '0';
$TYPO3_CONF_VARS['GFX']['im_path'] = '/usr/bin/';
$TYPO3_CONF_VARS['GFX']['im_path_lzw'] = '/usr/bin/';
$TYPO3_CONF_VARS['GFX']['im_combine_filename'] = 'composite';
$TYPO3_CONF_VARS['GFX']['im_no_effects'] = '0';
$TYPO3_CONF_VARS['GFX']['im_negate_mask'] = '1';
$TYPO3_CONF_VARS['GFX']['im_mask_temp_ext_gif'] = '0';
$TYPO3_CONF_VARS['GFX']['im_mask_temp_ext_noloss'] = 'miff';
$TYPO3_CONF_VARS['GFX']['thumbnails_png'] = '1';
$TYPO3_CONF_VARS['GFX']['im_version_5'] = 'im6';
$TYPO3_CONF_VARS['GFX']['im_imvMaskState'] = '1';
$TYPO3_CONF_VARS['GFX']['im_v5effects'] = '-1';


Часовой пояс GMT +4, время: 05:04.

Работает на vBulletin® версия 3.8.1.
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Перевод: zCarot