 |
C++Talk.NET C++ language newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
hardos Guest
|
Posted: Mon May 02, 2005 9:35 am Post subject: Fonction GetDIBits |
|
|
Voila je dois extraire d'un fichier bitmap tous les pixels le
constituant pour les traiter , la j'en susi qu'au debut :
Image a;
FILE * bm;
bm=fopen("test1.bmp","rb");
BITMAPFILEHEADER bmfh ;
BITMAPINFOHEADER bmih ;
voila jai parcouru un peu les forums et msdn et jai vu
que la fonction GetDIBits permettait justement
l'extraction de ces pixels, maintenant ce que je
comprends pas c les arguments de cette fonction est ce
qqun pourrait m'expliquer comment marche cette satané
fonction qui m'a l'air bien efficace :)
MERCI
----------------------------------------------
Posted with NewsLeecher v2.3 Beta 2
* Binary Usenet Leeching Made Easy
* http://www.newsleecher.com/?usenet
----------------------------------------------
|
|
| Back to top |
|
 |
Aurélien REGAT-BARREL Guest
|
Posted: Mon May 02, 2005 10:24 am Post subject: Re: Fonction GetDIBits |
|
|
| Quote: | Voila je dois extraire d'un fichier bitmap tous les pixels le
constituant pour les traiter , la j'en susi qu'au debut :
Image a;
FILE * bm;
bm=fopen("test1.bmp","rb");
BITMAPFILEHEADER bmfh ;
BITMAPINFOHEADER bmih ;
voila jai parcouru un peu les forums et msdn et jai vu
que la fonction GetDIBits permettait justement
l'extraction de ces pixels, maintenant ce que je
comprends pas c les arguments de cette fonction est ce
qqun pourrait m'expliquer comment marche cette satané
fonction qui m'a l'air bien efficace
|
Pas ici. Tu donnes du code C spécifique à Windows, ici c'est C++ standard.
Voir fr.comp.os.ms-windows.programmation par exemple.
codeproject et codeguru sont pleins d'exemples sur les bitmap aussi.
--
Aurélien REGAT-BARREL
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|