[GRASSLIST:2968] Re: PNG size

Miha STAUT mihastaut at hotmail.com
Wed Mar 17 12:34:36 EST 2004

>Miha STAUT wrote:
> > What is the maximum size of the PNG driver picture. Yesterday I tried 
> > 24000 x 46000 and it produced an error.
>It's limited by available memory. However, with the recent 5.3 PNG
>driver (which doesn't use GD), each cell is an "unsigned int"
>(typically 4 bytes), regardless of whether GRASS_TRUECOLOR is set.
>If there was sufficient demand, I suppose that we could have separate
>8-bit and 24-bit PNG drivers. Whatever the OS limitations, a version
>which used one byte per cell would allow for images four times as
>large as one which used four bytes per cell.
>Glynn Clements <glynn.clements at virgin.net>

Thanks, Glynn

In some rare cases I suppose the 8-bit driver would come useful.

Miha Staut

The new MSN 8: advanced junk mail protection and 2 months FREE* 

More information about the grass-user mailing list