-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Tino Miegel schrieb: > the problem is line 1446 in tilesGen.pl: > > my $Image = newFromPng GD::Image($File); > > After this call, $File can't be unlinked (closed) anymore by the perl > process (the undef doesn't help, neither). > I've done some researching that lead to the conclusion, that this is a > problem with the GD perl implementation within ActivePerl for windows > (under linux files can be deleted even when still in use). So even > after finishing one tile, the [EMAIL PROTECTED] can't delete the > "process_nr"-tempdir because of many ghost files... > So i've reimplementet tilesGen.pl to use Perlmagick instead of libGD. > It's working now (i've no perl experience), but my problem is, that i > can't figure out the compare-function of perlmagick. So detecting > black tiles, empty sea tiles and empty land tiles does not work now... > I am attaching the diff, perhaps some perl guru can figure out a > working solution ;) > > > Bye, Tino > > PS: > Comparing e.g. the $EmptySeaImage with $EmptyLandImage gives me an > error value >0, but comparing one of the 3 reference images with our > temporary $SubImage gives always an undefined value or 0.0.
I'm not a perl guru, but I will try. Unfortunately my main machine has developed faulty capacitors on the Mainboard and is undergoing major hardware maintenance so to speak. I'll have a closer look when that's done. - -- Dirk-Lüder "Deelkar" Kreie Bremen - 53.0952°N 8.8652°E -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHYGTbFUbODdpRVDwRAjr/AKCfOXU9+oQAgU3WHWtf7nTpbrhJGgCgzM3I Ly5sQJVQ4vaGeGyXldvhu9s= =G6k8 -----END PGP SIGNATURE----- _______________________________________________ Tilesathome mailing list [email protected] http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/tilesathome
