babyskill
-
Posts
5 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by babyskill
-
-
Error! space
in PHP
I over write 1 image on 1 image:
http://thainguyen4u.net/forum/thainguyen.php?src=http://thainguyen4u.net/test/1152709306.jpg
it oke but :
http://thainguyen4u.net/forum/thainguyen.php?src=http://thainguyen4u.net/test/test 1/1152709306.jpg
please help me
<?php header('content-type: image/jpeg'); $watermark = imagecreatefromgif('copy.gif'); $watermark_width = imagesx($watermark); $watermark_height = imagesy($watermark); $image = imagecreatetruecolor($watermark_width, $watermark_height); $image = imagecreatefromjpeg($_GET['src']); $size = getimagesize($_GET['src']); $dest_x = $size[0] - $watermark_width - 5; $dest_y = $size[1] - $watermark_height - 5; imagecopymerge($image, $watermark, $dest_x, $dest_y, 0, 0, $watermark_width, $watermark_height, 100); imagejpeg($image); imagedestroy($image); imagedestroy($watermark); ?>
-
-
-
Create image form BMP
in PHP
Posted
help me!I want create image form bmp file.