Hi
I�m using php version 4.2.3 with GD version 2.0.7 (with JPG and PNG Support
enabled). When i try to a specific color in my map, nothing happenes. Why?
<?php
header("Content-type: image/png");
$im = ImageCreatefrompng ('mapa2.png');
$origem = imagecolorexact($im, 255, 255, 0);
ImageColorSet($im, $origem, 0, 0, 0);
$destino = imagecolorexact($im, 0, 255, 0);
ImageColorSet($im, $destino, 0, 0, 0);
Imagepng($im);
imageDestroy($im);
?>
[]�s
Fred
Goi�nia - Brasil

