hi,
I can't really help with the code...
but do download the jpgraph.
it really has some cool classess for all that you want, plus the graphs...
AND YES ITS GOT ALPHA BLENDING
Moderators: macek, egami, gesf

<?php // imgCreator.php
header("Content-type: image/jpeg");
$im1 = imagecreatefromjpeg("images/background.jpg");
imagealphablending($im1, true); // this has to be before imagecopy();
$im2 = imagecreatefrompng("images/logo.png");
imagecopy($im1,$im2,0,0,0,0,608,300);
imagejpeg($im1,'',90);
imagedestroy($im1);
imagedestroy($im2);
?>
Return to PHP coding => Images
Users browsing this forum: No registered users and 1 guest