what i meant is that i like a challange and not being a lazy cold conadian
no offence
well i have another roadblock i just find out that flash wont allow me to dymacly load gif
this sucks
so i went to trusty gd i try using this code
Code: Select all
<?php
$img = imagecreatefromgif("http://radar.weather.gov/ridge/Conus/RadarImg/northeast.gif");
$color = imagecolorallocate($img, r, g, b);
imagecolortransparent($img, $color);
$newimg = imagecreatetruecolor(imagesx($img), imagesy($img));
imagecopymerge($newimg, $img, 0, 0, 0, 0, imagex($img), imagesy($img), 100);
imagedestroy($img);
imagejpeg($newimg, "./northeast.jpeg");
?>
what i am trying to do is convert gif to jpeg or if possible bmp
this script wont work so what do i do to do convert in gd
thank you in advance