Code: Select all
convert -background transparent -fill red -pointsize 72 -gravity Center label:"DENEY" deney.pngBut this:
Code: Select all
<?php
header("Content-type: image/png");
passthru('convert -background transparent -fill red -pointsize 72 -gravity Center label:"DENEY" PNG:-');
?>
the syntext
Code: Select all
PNG:- I'm tryng to create a transparent backgrounded png file on fly with auto height and width base on text size. And echo this directly as page response.
Pleas help me. I'm despred.