C++Talk.NET Forum Index C++Talk.NET
C++ language newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Fonction GetDIBits

 
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ (French)
View previous topic :: View next topic  
Author Message
hardos
Guest





PostPosted: Mon May 02, 2005 9:35 am    Post subject: Fonction GetDIBits Reply with 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 :)

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





PostPosted: Mon May 02, 2005 10:24 am    Post subject: Re: Fonction GetDIBits Reply with quote



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 Smile

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
Display posts from previous:   
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ (French) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.