[GRASS5] r.in.png changes
Glynn Clements
glynn.clements at virgin.net
Thu May 9 04:08:42 EDT 2002
Glynn Clements wrote:
> > I've made some modifications to r.in.tiff to hopefully make it a bit
> > more useable. I completely removed all of the color reduction
> > code and am just forcing all RGB TIFF's into respective band files.
>
> I've done something similar for r.in.png.
>
> It now supports paletted, grey-scale and true-colour images, with or
> without an alpha channel. In all cases, pixel values are imported
> verbatim, including sBIT information (where present) and
> 16-bit-per-component images; any translations are performed in the
> colour table.
I've tested all of the options for which I can actually generate test
images (8-bit grey, paletted and true-color formats, alpha channel,
transparency, gamma setting, and interlace).
However, I haven't been able to generate test images with bit depths
other than 8, or with sBIT information. Does anyone know of programs
which can generate a greater variety of PNG image formats?
--
Glynn Clements <glynn.clements at virgin.net>
More information about the grass-dev
mailing list