[GRASS-dev] animation missing pnmscale
Michael Barton
michael.barton at asu.edu
Mon Sep 10 12:57:47 EDT 2007
On 9/9/07 5:18 PM, "Glynn Clements" <glynn at gclements.plus.com> wrote:
>
> 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).
This won't need pnmscale. Glynn's solution to do scaling via adjusting the
resolution prior to running r.out.pnm works fine.
Michael
__________________________________________
Michael Barton, Professor of Anthropology
Director of Graduate Studies
School of Human Evolution & Social Change
Center for Social Dynamics and Complexity
Arizona State University
phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton
More information about the grass-dev
mailing list