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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 00:44:03
Script start
Timing: Jan 31 2025 00:44:03
Module start 'layout'
Timing: Jan 31 2025 00:44:03
Module start 'content'
Timing: Jan 31 2025 00:44:03
Module end 'content'
Timing: Jan 31 2025 00:44:03
Script end

Main resources:

Total runtime0.0209 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 588.1484151.2109
Module start 'layout' 0.00490.0036 739.3594220.6875
Module start 'content' 0.00850.0110 960.0469993.6641
Module end 'content' 0.01950.0014 1,953.710929.9922
Script end 0.0209  1,983.7031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002311.0603140.0002
Check MTime0.00104.8662140.0001
Mysql Total
Database connection0.00073.553010.0007
Mysqli_queries0.002813.262630.0009
Looping result0.00000.052410.0000
Template Total0.00104.810.0010
Template load0.00073.270310.0007
Template processing0.00021.013410.0002
Override
Cache load0.00052.309410.0005
General
dbfile0.00031.658580.0000
String conversion0.00000.028540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs