[GRASS-dev] PIL needs to be a GRASS dependency
glynn at gclements.plus.com
Thu Nov 24 16:04:03 EST 2011
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
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 <glynn at gclements.plus.com>
More information about the grass-dev