Hi All, I'd like to know if I can take the results of a MapServer Python mapscript 'mapImage.getBytes()' operation, and feed it into GDAL as a data source for an in-memory raster? The MapServer docs state that the results of 'getBytes' in Python is a "string of binary data". I'm not sure if GDAL can open this sort of object though.
For background purposes, the reason I would like to do this is so that I can try replacing PIL with GDAL in TileCache for the cutting of metatiles. PIL isn't properly saving the image formats generated by MapServer, whereas GDAL replicates them perfectly. Thanks, Roger --
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev