On 2/6/07, <b class="gmail_sendername"><a href="mailto:matthew-osm@newtoncomputing.co.uk">matthew-osm@newtoncomputing.co.uk</a></b> <<a href="mailto:matthew-osm@newtoncomputing.co.uk">matthew-osm@newtoncomputing.co.uk</a>
> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br><br>On Tue, Feb 06, 2007 at 01:25:11PM +0100, Dirk-Lüder Kreie wrote:
<br>> Since I added the GD support into the tilesGen.pl mcn has spotted a bug<br>> in the handling of colours in the process of cutting the tiles up.<br><br>Slight correction: 80n spotted the bug, I just proved it was in the
<br>GD version ;)</blockquote><div><br>Slight correction - I just blamed Matthew for generating tiles of the wrong colour, didn't know it was a bug ;)<br><br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> That means that I had to update the tilesGen.pl to force trueColor on<br>> the GD calls, which doesn't work with older versions of libgd (pre<br>> version 2)<br><br>I'm running Debian testing, and found that you need to install the
<br>libgd-gd2-perl package, rather than libgd-perl. If you do<br><br> $ perl -e 'use GD; GD::Image->trueColor(1);'<br> Can't locate object method "trueColor" via package "GD::Image" at -e line 1.
<br><br>Then you have got the wrong version. If that returns with no error, then it is<br>good to go (with the latest tilesGen.pl - thanks deelkar).<br><br>--<br>Matthew<br><br>_______________________________________________
<br>talk mailing list<br><a href="mailto:talk@openstreetmap.org">talk@openstreetmap.org</a><br><a href="http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk">http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
</a><br></blockquote></div><br>