<p>True color is 8 bits per color channel, so 3 bytes per pixel.  1024x768 is 785,408 pixels.  At 3 bytes per pixel that is 2,356,224 bytes.  Since it's double buffered we double that number to 4,712,448 bytes which is about 4.5MB.</p>

CC BY-SA 3.0
2016-10-24T07:19:39.417Z
I'm not sure there are that many true 24bit displays. I suspect many will probably pad each pixel out to 4 bytes, thus becoming 3145728, i.e. 3MB.
Simon F
CC BY-SA 3.0
2016-10-24T14:04:49.003Z
XGA is a specific standard from a while back, when they didn't have the memory to pad to 32bit. Check it out here:
https://en.wikipedia.org/wiki/Graphics_display_resolution#XGA_.281024x768.29
Alan Wolfe
CC BY-SA 3.0
2016-10-24T03:42:10.667Z
2016-10-24T03:42:10.667Z
Alan Wolfe
<p>What is the memory consumption for a true color frame buffer (with double buffering) on an XGA display? ("XGA" = 1024 x 768 pixels) How can I calculate this?</p>

CC BY-SA 3.0
2016-10-23T22:03:19.600Z
Could you show what you have tried, and explain what you currently understand?
trichoplax is on Codidact now
<memory>
memory consumption for a true color frame buffer
user5345
# memory consumption for a true color frame buffer

(Asked by: username_0 on 2016-10-23)

What is the memory consumption for a true color frame buffer (with double buffering) on an XGA display? ("XGA" = 1024 x 768 pixels) How can I calculate this?

**Tags:** memory

> **Comments:**
> **username_1**: Could you show what you have tried, and explain what you currently understand?  

---

## 1 answers

### Answer by username_2 on 2016-10-24. Score: 4

True color is 8 bits per color channel, so 3 bytes per pixel. 1024x768 is 785,408 pixels. At 3 bytes per pixel that is 2,356,224 bytes. Since it's double buffered we double that number to 4,712,448 bytes which is about 4.5MB.

> **Comments:**
> **username_3**: I'm not sure there are that many true 24bit displays. I suspect many will probably pad each pixel out to 4 bytes, thus becoming 3145728, i.e. 3MB.  
> **username_2**: XGA is a specific standard from a while back, when they didn't have the memory to pad to 32bit. Check it out here: https://en.wikipedia.org/wiki/Graphics_display_resolution#XGA_.281024x768.29  

---

