[OSM-talk] tiles at home notice.
matthew-osm at newtoncomputing.co.uk
matthew-osm at newtoncomputing.co.uk
Tue Feb 6 12:34:43 GMT 2007
Hi,
On Tue, Feb 06, 2007 at 01:25:11PM +0100, Dirk-Lüder Kreie wrote:
> Since I added the GD support into the tilesGen.pl mcn has spotted a bug
> in the handling of colours in the process of cutting the tiles up.
Slight correction: 80n spotted the bug, I just proved it was in the
GD version ;)
> That means that I had to update the tilesGen.pl to force trueColor on
> the GD calls, which doesn't work with older versions of libgd (pre
> version 2)
I'm running Debian testing, and found that you need to install the
libgd-gd2-perl package, rather than libgd-perl. If you do
$ perl -e 'use GD; GD::Image->trueColor(1);'
Can't locate object method "trueColor" via package "GD::Image" at -e line 1.
Then you have got the wrong version. If that returns with no error, then it is
good to go (with the latest tilesGen.pl - thanks deelkar).
--
Matthew
More information about the talk
mailing list