TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv

TYPO3 Mailingliste: nicht fragen - lesen!

TYPO3 Mailingliste: nicht fragen - lesen!_RR_1-->
Zurück   TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv > TYPO3-Mailinglists: ENGLISH > typo3-english@lists.netfielders.de

Registrieren Hilfe Benutzerliste Kalender Suchen Heutige Beiträge Alle Foren als gelesen markieren
  #1  
Alt 11.10.2007, 14:49
Franz Josef
Gast
 
Beiträge: n/a
Standard [TYPO3] GIFBUILDER output png-24 with alpha channel

Hi!

I want to generate 24 bit pngs (including alpha channel) with GIFBUILDER.

I need to render text on top of an existing 24 bit png, but I couldn't
get it to work. No matter what I do, the result is a 24 bit png, but it
has just one transparent color.

I set these options in install tool:

[GFX][gdlib_png] = 1
[GFX][png_truecolor] = 1

Thats the Test Typoscript:

temp.testAlpha = IMAGE
temp.testAlpha.file = GIFBUILDER
temp.testAlpha.file {
transparentBackground = 1
XY = 181,40
5 = IMAGE
5.file = fileadmin/img/background.png // has an alpha channel
already
10 = TEXT
10.text.data = leveltitle: 2
10.text.case = upper
10.fontFile = fileadmin/fonts/gil.normal.ttf
10.fontColor = #333333
10.fontSize = 12
10.niceText = 1
10.offset = 15,25
}

I tried to use IM 6.1.8 and GM 1.1.6, both show the same result. GDLib
version is 2.0.36.

TSRef says, that transparentBackground determines the color on the 0/0
pixel and takes it as the transparent color, is there a way to keep the
whole alpha channel for the output image?

I read about imagesavealpha() and imagealphablending(), which I tried to
hack into class.t3lib_stdgraphic.php, but still it didnt work.

Searched everywhere for advice, but couldn't find a working solution!
Can anybody help, please?

Thanks

Franz
_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #2  
Alt 11.10.2007, 14:50
Franz Josef
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] GIFBUILDER output png-24 with alpha channel

Franz Josef wrote:
> Hi!
>
> I want to generate 24 bit pngs (including alpha channel) with GIFBUILDER.
>
> I need to render text on top of an existing 24 bit png, but I couldn't
> get it to work. No matter what I do, the result is a 24 bit png, but it
> has just one transparent color.
>
> I set these options in install tool:
>
> [GFX][gdlib_png] = 1
> [GFX][png_truecolor] = 1
>
> Thats the Test Typoscript:
>
> temp.testAlpha = IMAGE
> temp.testAlpha.file = GIFBUILDER
> temp.testAlpha.file {
> transparentBackground = 1
> XY = 181,40
> 5 = IMAGE
> 5.file = fileadmin/img/background.png // has an alpha channel already
> 10 = TEXT
> 10.text.data = leveltitle: 2
> 10.text.case = upper
> 10.fontFile = fileadmin/fonts/gil.normal.ttf
> 10.fontColor = #333333
> 10.fontSize = 12
> 10.niceText = 1
> 10.offset = 15,25
> }
>
> I tried to use IM 6.1.8 and GM 1.1.6, both show the same result. GDLib
> version is 2.0.36.
>
> TSRef says, that transparentBackground determines the color on the 0/0
> pixel and takes it as the transparent color, is there a way to keep the
> whole alpha channel for the output image?
>
> I read about imagesavealpha() and imagealphablending(), which I tried to
> hack into class.t3lib_stdgraphic.php, but still it didnt work.
>
> Searched everywhere for advice, but couldn't find a working solution!
> Can anybody help, please?
>
> Thanks
>
> Franz


gdlib is 2.0.32
_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
 

Lesezeichen

Themen-Optionen
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an


Ähnliche Themen

Thema Autor Forum Antworten Letzter Beitrag
[TYPO3-announce] TYPO3 4.2 Alpha 1 Ingo Renner typo3-announce@lists.netfielders.de 0 07.09.2007 18:08
[TYPO3] Size of IM-output Niels Fröhling typo3-english@lists.netfielders.de 0 30.05.2007 10:02
[TYPO3-dev] USER_INT doesn't output Matthias Stuebner typo3-dev@lists.netfielders.de 6 19.05.2007 11:20
[TYPO3] dont't cache output of ext Felix Natter typo3-english@lists.netfielders.de 1 31.03.2007 11:49
[TYPO3] Flexform: unwanted output DEF: Matthias Stuebner typo3-english@lists.netfielders.de 1 30.03.2007 13:58


Alle Zeitangaben in WEZ +1. Es ist jetzt 07:38 Uhr.


Powered by vBulletin® Version 3.7.4 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Template-Modifikationen durch TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75