Project

General

Profile

Actions

Feature #16029

closed

GIFBuilder PNG format

Added by Arjen Hoekema over 18 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Should have
Category:
Backend User Interface
Target version:
-
Start date:
2006-04-11
Due date:
% Done:

0%

Estimated time:
PHP Version:
4
Tags:
Complexity:
Sprint Focus:

Description

Possibility to select 'png' as a format in the GIF Builder

I'd like to use the PNG (24) format for certain GIF Builder objects.

Adding the line:
case 'png': return 'png';
to the 'tslib_gifBuilder->extension()' function would do the trick!
(issue imported from #M3232)

Actions #1

Updated by Ingmar Schlecht over 18 years ago

I'm pretty sure this is already possible and it's not a bug. Bernhard, can you please add a comment and close the bug?

Actions #2

Updated by Bernhard Kraft over 18 years ago

No sorry. Currently it is only possible to either output JPEG explicitly or else the default extension for images will get choosen.

You can set gdlib_png to 1 but then all images will get created as png.

I implemented a feature which allows you to define the intermediate format which images have (for example you could define the overlay images to be png/gif explicitly) ...

I just noticed that this code get's not used for IMAGE cObjects ... they are rendered slightly different.

Of course this is a reasonable feature request - it should be possibe to overrule the default format set by gdlib_png.

I will send a patch - request to the core list.

thx for the information.

Actions #3

Updated by Bernhard Kraft over 18 years ago

Will send patch-request to core list

Actions #4

Updated by Michael Stucki over 18 years ago

Seems like Bernhard fixed this in CVS (TYPO3_4-0 and HEAD)

Actions

Also available in: Atom PDF