Hi,


how do I access the data in a CImage?


At the moment I do:

CImage *image;
image = some_stream->GetFrame(true);
image->ToRGB();
uint8_t *data = image->At(0);


If this is the wrong way, please tell me how to do it right.


In which way is *data ordered? Is it 8bit for red, 8bit for green, 8bit for blue followed by another 24bits for the next pixel and so on?


Matthias



_______________________________________________ Avifile mailing list [EMAIL PROTECTED] http://prak.org/mailman/listinfo/avifile

Reply via email to