Thanks for the reply.
Well maby I didnt describe it good enough.
I start by loading a map (a jpeg) with
$im = imagecreatefromjpeg ($mapFile);
i then put images into it with
$circle = imagecreate ($x, $y);
imagecopymerge($im, $circle, $xcord, $ycord, 0, 0, $x, $y, 80);
($x and $y is taken from the statistics in the D😎
I then get 80% untransparent squares in the image. And I give them the color $transpcol.
Now, I thought maby I could put circles into the $circle images with
imagefilledellipse ($circle, 50, 50, $x,$y, $black);
And remove the $transpcol with.
imagecolortransparent($circle , $transpcol);
And only the circles should be seen. But it doesnt work.