void SetImageData(ImageData* pdata);
SetImageData sets the ImageData data structure, used to access image bits.