Bug #20296
closedpng_truecolor = 1 prevents using 'opacity', 'intensity', 'inputlevels', 'outputlevels', 'autolevels' features in GIFBUILDER
0%
Description
When [GFX][png_truecolor] = 1 GD function imagecolorstotal() does not work properly - it always returns 0 on truecolor image and works well only with indexed images. This function is using in GIFBUILDER when configured EMBOSS with 'opacity' or 'intensity' or using ADJUST (with 'inputlevels' / 'outputlevels' / 'autolevels' ).
When [GFX][png_truecolor] = 0 all is working as intended, and when = 1 those features does not work at all.
I've found workaround - you can have png_truecolor=1 and so have truecolor by default and still use those features (but it will produce 256 colors) if you have transparentBackground = 1 and reduceColors=256. In such case it is triggered gifbuilder obj internal var ->truecolor to false (as well as when png_truecolor = 1). However this workaround affects transparency - you can not get then transparent background.
(issue imported from #M10874)