[GRASS5] rgb color support in ps.map ?

Glynn Clements glynn at gclements.plus.com
Sat Sep 3 19:35:58 EDT 2005


Hamish wrote:

> > PNG driver + pnmtops.
> > 
> > You'll get jagged lines, but that's a problem of the display
> > architecture which can't be fixed in an individual driver.
> 
> Use pnmalias to fix that (sort of).
> 
> pngtopnm infile.png | pnmalias | pnmtops > outfile.ps

I'm not sure how good an idea that is if you're planning on printing
the file. pnmalias will interpolate the colours; the interpolated
colours will then end up getting dithered for printing.

BTW, the PNG driver can write PPM files directly.

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




More information about the grass-dev mailing list