English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

plz do specify the procedure of how to calculate it.thanx

2007-02-28 02:15:24 · 3 answers · asked by jackson5_nelly 1 in Computers & Internet Other - Computers

3 answers

It will vary depending on the picture and backgrounds. Right click on the picture and open Properties. That will tell you how many bytes are in the picture and each byte takes 1 byte of memory.

Ron

2007-02-28 02:24:14 · answer #1 · answered by Ron75 6 · 0 1

You need more information: is the image 16, 24 or 32 bits per pixel? Is it a palleted image? Is it compressed? Is their an alpha channel?

The memory usage is approximately 256 * 256 * x where x is the bit size. 24 bpp is probably using 32 bpp internally, so it's either 256 * 256 * 16 (104,876 bytes) or 256 * 256 * 32 (2,097,152 bytes). There is probably also an image header, which will contain at least the dimensions of the image (4 bytes each for height and width) and the bit depth of the image (another 2-4 bytes). The header can also contain additional information, such as compression scheme, etc....

Or, it could be a palleted image, in which case each pixel is a 1 byte index into a pallete of colors. So it would be 256 * 256 * 1 (65,536 bytes) plus the size of the palette (usually 256 colors, so 256 * 4 (1024 bytes)).

2007-02-28 10:26:59 · answer #2 · answered by Pfo 7 · 0 0

What is the computer "word" length in your system? You know, 16 bit, 32 bit, 64 bit?

What is the Video Memory setting in the BIOS, 8Mb, 16Mb, 32Mb, 64 Mb for mapping of the video?

the thing is laid out as an image in the mapped area, so that it takes the entire allocation space, no matter that it might be lots smaller!

2007-02-28 10:27:05 · answer #3 · answered by Anonymous · 0 0

fedest.com, questions and answers