[GRASS-dev] animation missing pnmscale

Glynn Clements glynn at gclements.plus.com
Sun Sep 9 20:18:43 EDT 2007


William Kyngesburye wrote:

> These are the ones I've found so far (searching for 'netpbm'):
> 
> ppmtompeg: r.out.mpeg

This is bound to require some kind of external tool, be it ppmtompeg,
mencoder (from mplayer), etc.

> pngtopnm: d.out.gpsdrive

This is gratuitous. The PNG file is generated by the PNG driver, which
can generate PPM files by itself. Moreover, the ability to generate
PPM files is unconditional, while generating PNG files is optional
(using --without-png will disable it). The "PNG driver" name is a
historical artifact.

> pnmtojpeg: d.out.gpsdrive

This will require an external utility, but "cjpeg" would have been a
better choice. "cjpeg" is built and installed along with libjpeg,
which pnmtojpeg requires. IOW, if you have pnmtojpeg, you already have
cjpeg, but the reverse isn't true.

> pnmscale: xganim.tcl

xganim.tcl was something I hacked together in an hour to determine the
feasibility of replacing xganim. AFAICT, it isn't actually part of
GRASS (yet).

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list