-
Store image in a folder
Hello all,
i created a dynamic image using
<?php
@header ("Content-type: image/jpeg");
$im = @imagecreate (30, 100)
or die ("Cannot Initialize new GD image stream");
$background_color = imagecolorallocate ($im, 255, 255, 255);
$text_color = imagecolorallocate ($im, 233, 14, 91);
imagestringup ($im, 1, 10, 100, "A Simple Text String", $text_color);
@imagejpeg($im);
?>
I want this image to store in a folder & db and available for further use.
can any one help me.
-
-
I created a image using
<?php
$pic=ImageCreate(20,100);
$col1=ImageColorAllocate($pic,0,0,255);
$col2=ImageColorAllocate($pic,0,0,255);
ImageFilledRectangle($pic,1,1,100,100,$col2);
ImagePNG($pic,"pic.png");
ImageDestroy($pic);
?>
<img src="pic.png" border=0>
i want to enter text inside the image. at present it create a blank image
can any one help me.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks