by Presto » Feb 17, 2006 @ 4:59pm
Using PF Surfaces for the image data, the 24-bits are converted to 16-bits as they're loaded in, so there's no impact, except in filesize. In The Sudoku Collection, I converted all of my .PNGs from 24-bit to 16-bit, and saved about half a meg in the .cab size. As for blitting the images, it copies the memory directly, unless you're using pixel shaders or alpha blending, so once again it won't matter if the original is 24- or 16-bit. Now, if PPL keeps the images as HBITMAPs (which I don't think it does), then it'll behave differently, and could use up to 4 bytes per pixel, but I thought it was using PF for the image stuff.
-John