Forums / General / texttoimage: Text on a transparent PNG

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

texttoimage: Text on a transparent PNG

Author Message

Thomas Brandl

Wednesday 10 September 2003 6:37:02 am

According to the docu and some test, this should present me some text on a transparent background:
{image( $node_name,
imagefile('design/corporate/images/blank_head.png'),
array($node_name|wash|texttoimage('arial')))
}

What happens, is that the image turns black, setting the text color to white doesn't make any difference either - actually changing text color has no effect at all in combination with image, no matter if I'm using a jpg or png.

Is there a known bug or limitation or some workaround to create text on transparent background?

Thanks again!
Tom