bonjour,
j'ai une fonction qui me charge une image dans un HBITMAP
comment puis je enregistrer ce HBITMAP sur mon disk dur???Code:HBITMAP bit = (HBITMAP) LoadImage(0,"shoot.bmp",IMAGE_BITMAP,0,0,LR_LOADFROMFILE);
Version imprimable
bonjour,
j'ai une fonction qui me charge une image dans un HBITMAP
comment puis je enregistrer ce HBITMAP sur mon disk dur???Code:HBITMAP bit = (HBITMAP) LoadImage(0,"shoot.bmp",IMAGE_BITMAP,0,0,LR_LOADFROMFILE);
T'as pas un SaveImage() ?Citation:
Envoyé par gy0m76
undefine reference to SaveImage :cry:
Non, il n'y a pas de fonction disponible en C pour sauvegarder.
Sauf dans l'aide: cherche "Storing an Image".
Le lien avait déjà été posté.
http://msdn.microsoft.com/library/de...tmaps_7zfp.asp
C'est un peu complexe mais fonctionnel.
Sinon regarder sur codeguru.com ou codeproject.com