Project

General

Profile

Actions

Bug #20296

closed

png_truecolor = 1 prevents using 'opacity', 'intensity', 'inputlevels', 'outputlevels', 'autolevels' features in GIFBUILDER

Added by Vladimir Podkovanov over 15 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-04-09
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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)

Actions #1

Updated by Alexander Opitz over 11 years ago

  • Status changed from New to Needs Feedback
  • Target version deleted (0)

The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?

Actions #2

Updated by Alexander Opitz about 11 years ago

  • Status changed from Needs Feedback to Closed
  • Is Regression set to No

No feedback for over 90 days.

Actions

Also available in: Atom PDF