ok Thanx I will test it and let you know.
Have you tested this?

Thanx!

On 5 feb, 10:56, grigri <[EMAIL PROTECTED]> wrote:
> Looks like in the 'generate' function, this code:
>
>         // define colors
>         $backCol = imagecolorallocate($im, $this->bgColor['r'], 
> $this->bgColor['g'], $this->bgColor['b']);
>
>         if ($this->transparent)
>         {
>             imagecolortransparent($im, $backCol);
>         }
>         else
>         {
>             imagefill($im, 0, 0, $backCol);
>         }
>
> Should be this:
>
>         // define colors
>         $backCol = imagecolorallocate($im, $this->bgColor['r'], 
> $this->bgColor['g'], $this->bgColor['b']);
>
>         imagefill($im, 0, 0, $backCol);
>         if ($this->transparent) {
>             imagecolortransparent($im, $backCol);
>         }
>
> On Feb 5, 9:48 am, Arendp <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi all,
>
> > I have a problem with the textimage helper in cake.
> > I use this to make headers with a particular font.
> > Anyone known with this helper?
> > I try to make a transparent background, because my header must fit on
> > a page with a gradient body background. However, all I get is a black
> > background instead of a transparent.
>
> > I use this code to make the header transparent:
> > $textImage->transparent = true;
>
> > Who has some help for me?
>
> > Greetz,
> > Arend- Tekst uit oorspronkelijk bericht niet weergeven -
>
> - Tekst uit oorspronkelijk bericht weergeven -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to