From: Kalev L. <ka...@co...> - 2005-01-06 18:18:25
|
Jesper Berth wrote: >But how many colors can i use in 1024*768?? > > To calcultate the memory required you have to multiply the horisontal resolution, vertical resolution and color depth and divide it by 8. memory required (in bytes) = horisontal resolution * vertical resolution * depth (in bits) / 8 for example: 1024 * 768 * 24 / 8 = 2,359,296 1024 * 768 * 16 / 8 = 1,572,864 So you can use 16bit color depth for 1024*768 screen resolution. -- Best regards, Kalev Lember |