Feature #16029
closedGIFBuilder PNG format
0%
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)
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?
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.
Updated by Bernhard Kraft over 18 years ago
Will send patch-request to core list
Updated by Michael Stucki over 18 years ago
Seems like Bernhard fixed this in CVS (TYPO3_4-0 and HEAD)