Voici comment je cr�e mon bitmap (je n'ai pas mis ici les boucles "for") :
Ca compile, mais il y a un probleme a l'execution.
Code : S�lectionner tout - Visualiser dans une fen�tre � part
1
2
3
4
5
6
7 U16 TabWidth; U16 TabHeight; TabWidth = pPicture->GetXSize(); TabHeight = pPicture->GetYSize(); unsigned long *TabImage = new unsigned long[TabWidth * TabHeight]; m_Bitmap.CreateBitmap( TabWidth, TabHeight, 1, 32, TabImage);
Quelle est la bonne m�thode pour creer un bitmap a partir d'un tableau d'image?
Merci pour votre reponse
Partager