Hi Frederik, Matt Sorry for taking a long time to rely. Mapnik has image scaling implementation internally :
ImageData32 source(100,100); ImageData32 target(200,120); scale_image<ImageData32>(target,source); // stretch source to fit taget It doesn't use any filtering and visual quality can be sub-optimal but it is fast. For better results I recommend AGG based implementation or boost::gil . I have code somewhere which I happy to share. Cheers Artem > Hi, > >> Ok, this will show me to actually try code before telling people >> how to do it. > [...] > > Thanks for your work, I don't think I would have found that out from > the > docs alone. I'll give it a try. I have a working dolution that doubles > or drops individual scanlines from the PNG to stretch/shrink it but of > course the image quality is suboptimal, CImg would do better. > > Bye > Frederik > > -- > 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

