On 15 June 2010 19:09, Frederik Ramm <[email protected]> wrote: > Hi, > > > Eric France wrote: > >> I am interested in writing some text metadata into the .PNG map tiles >> generated by Mapnik. Has anyone else done this? >> > > Not me... > > > I'm having trouble locating a Python module for writing PNG metadata >> -- PyPNG appears to be able to read the metadata preamble but doesn't >> appear to be able to write to it. >> > > I am not familiar with the Python bindings. Do they use their own PNG > writing code? Because if you'd use the C API, then all you should have to do > is add a suitable call to libpng's png_set_text routine in mapnik/png_io.hpp > where the PNG is written. > > Bye > Frederik >
Yes, we can add an extra parameter to png_writer and expose it in python. Artem > > -- > Frederik Ramm ## eMail [email protected] ## N49°00'09" E008°23'33" > > _______________________________________________ > Mapnik-users mailing list > [email protected] > https://lists.berlios.de/mailman/listinfo/mapnik-users >
_______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

