just a suggestion: store it in a bitmap, since you only have red, green and blue information this would work best. use bitblt to copy the bitmap. for direct access of the bitmap information, you can retreive the pointer to the bitmap data and access it dependent on the format and size of the bitmap. it's some pointer arithmetics but definately fast and viable.