Generic Questions

Previous topic - Next topic

Kyo

QuoteMrTAToad: If they were both BMP's then probably none. However, PNG and JPEG may require extra memory for decompression... How much would depend probably on any compression ratio...

Quoteerico: The png+alpha (32bit) might take a bit more too.
the png 24bit using the purple background color mask may use less mem too.


I do not understand ...
what is the sense to use an image in 8-bit format 256 Palette,  if in memory is equal to an image 24 bit??
only to save space on hdd?
If I using the image 8-bit 256 Palette I have an image less detailed compared to an Image 24-bit...

It makes no sense!  :S

hardyx thanks for the links  :good:

erico

I don´t quite know the reasons, but even a 2 bit image is treated as 24bit internally.
I´m not sure about a png 32 bit (with alpha).

The former I read in another post, maybe someone can explain better. :-[
It may have something to do with open gl.

I think the only benefit is hdd space too.

I could be nice to have indexed colors (256 colors or less) and the ability to shift pallete similar to Amos on amiga, ye the oldschool stuff.
But I´m not sure this would be necessary as a feature to all users and the actual trouble to have it going that way.

Kyo

You are right!
The images are used in memory only in 24-bit format ....

I made a test image:
The exe without images in taskmanager is:  KB 16.105

I used the same image (128x227 - WxH) in three resolutions:
1) 24 Bit - 7,79 KB
2) 8 Bit - 256 Palette - 4,24 KB
3) 8 Bit - 16 Palette - 3,2 KB

the difference is minimal in the three resolutions!

This is the result of the test in taskmanager:



[attachment deleted by admin]

MrTAToad

Quote from: diego on 2013-Feb-06
QuoteMrTAToad: If they were both BMP's then probably none. However, PNG and JPEG may require extra memory for decompression... How much would depend probably on any compression ratio...

Quoteerico: The png+alpha (32bit) might take a bit more too.
the png 24bit using the purple background color mask may use less mem too.


I do not understand ...
what is the sense to use an image in 8-bit format 256 Palette,  if in memory is equal to an image 24 bit??
only to save space on hdd?
If I using the image 8-bit 256 Palette I have an image less detailed compared to an Image 24-bit...

It makes no sense!  :S

hardyx thanks for the links  :good:
Graphic cards have a fix way of processing stuff...

Kyo

And Mobile Phone? have no problem with many images in memory in 24 Bit?

MrTAToad

They used to ise just 16-bit displays, but probably now use 24