[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] Bit-Depth and Graphics stuff....
Hi,
On Wednesday 07 July 2010, m0n0 wrote:
> > If you don't use some sort of intermediate standard format, you're
> > looking at 30+ versions of the jpeg->screen routine.
>
> Actually, netsurf uses an standard format and also jpegs are converted
> and passed as 32bpp bitmap to the draw_bitmap routine.
> So it's alyways 32bpp -> to native conversion... :)
There are www-pages which have images that in 32-bits take over 100MB of RAM
(single image) if they (or their intermediate copies) are kept completely in
RAM as uncompressed.
That's why e.g. Mozilla is trying to shortcircuit some of this stuff even on
today's PCs. For example GIF format doesn't even support more than 8-bits
and it can be used for huge background patterns.
- Eero