> make image using php ~ Online tutorial

make image using php

make image using php

In this program we will create image using php.In the imagecreate is used to create the image space.


<?php
header("Content-Type: image/png");

$im = @imagecreate(500, 120)

or die("Cannot Initialize new GD image stream");

$background_color = imagecolorallocate($im, 0, 0, 0);

$text_color = imagecolorallocate($im, 233, 14, 91);

imagestring($im, 1, 10, 10, "Online tutorial", $text_color);

imagepng($im);

imagedestroy($im);

?>
Output

Please Give Us Your 1 Minute In Sharing This Post!
Please Give Us Your 1 Minute In Sharing This Post!
SOCIALIZE IT →
FOLLOW US →
SHARE IT →
Powered By: BloggerYard.Com

0 comments: