[TYPO3-core] RFC: #15184 Generation transparent images with GMENU fails

Steffen Gebert steffen at steffen-gebert.de
Thu Nov 4 22:54:28 CET 2010


> Bugtracker references: http://bugs.typo3.org/view.php?id=15184
>
> Branches: trunk, 4.4
>
> Problem:
> using transparentBackground in GIFBUILDER fails (the bugtracker entry
> refers to GMENUs, but basically all GIFBUILDER tasks are affected).
> This is more like a follow up to Benni's changes in stdGraphic to
> internally work with truecolor images (which is a good thing).

Hi Mathias,

it's only a problem, with
 > $TYPO3_CONF_VARS['GFX']['gdlib_png'] = '0';
isn't it?
With gdlib_png=1 I always have pink background (but not transparent..?)

With gdlib_png=0 I get a black image (I think that's the bug). 
ImageColorExact returns -1 (color not in palette), while 
ImageColorClosest returns 0 (black). Okay.. but the problem remains: The 
whole image is still black, even with ImageColorClosest (yes, tempfile 
deleted). I think this is not desired, isn't it?

Please CGL before commit!

Kind regards
Steffen

-- 
Steffen Gebert
TYPO3 Core Team Member

Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/


More information about the TYPO3-team-core mailing list