i do not understand why the image that is created by php is so large. The original pic is only like 5.00kb++ but after the php create the image…it is like 52KB…this is the script that i use..
<?php
$ip = $_SERVER[‘REMOTE_ADDR’];
$image = “myimagepath”;
$im = imagecreatefromjpeg($image);
$tc = ImageColorAllocate ($im, 0, 0, 255);
$red = ImageColorAllocate ($im, 255, 0, 0);
$black = ImageColorAllocate ($im, 0, 0, 0);
ImageString($im, 2, 5, 5, “INTEL P4 2.4(?”, $tc);
header(“Content-Type: image/png”);
imagepng($im,”,75);
ImageDestroy ($im);
?>
and it is eating up alot of my BW…yesterday bandwidth for this small image is like 300MB+
can someone tell me what is wrong?