Home Tutorial Php Phpgd php gd Wbmp

 
 

Share on Google+Share on Google+
php gd Wbmp
Posted on: October 31, 2009 at 12:00 AM
Advertisement
In this tutorial we will know about how to create the wbmp file in php gd.

<?php

$im = imagecreatetruecolor(120, 20);

$text_color = imagecolorallocate($im, 225, 0, 0);

imagestring($im, 1, 5, 5, 'Roseindia', $text_color);

imagewbmp($im, 'simpletext.wbmp');

echo "Wbmp file created and saved successfully";

imagedestroy($im);

?>

output : Wbmp file created and saved successfully

Advertisement

Related Tags for php gd Wbmp:


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: October 31, 2009

Recommend the tutorial

Advertisements Advertisements
 

 

 

DMCA.com