Anna Kratochvílová wrote: > > BTW: what does PIL offer that wxImage doesn't? wxPython is already a > > required dependency, so PIL seems a bit gratuitous. Apart from its > > image format readers and writers, most of PIL'S other functionality is > > easily (and often better) performed using NumPy. > > Map Composer needs PIL to read PostScript (created by ps.map).
Like most image libraries, PIL uses Ghostscript to render PostScript to a raster image format (in the case of PIL, PPM), then reads the resulting image. PostScript support doesn't, in itself, warrant the addition of PIL (which has a binary component, meaning that it has to match the the version and architecture of the installed Python). -- Glynn Clements <[email protected]> _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
