BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to read the data of bitmap file into a memory or array

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Graphics
View previous topic :: View next topic  
Author Message
li
Guest





PostPosted: Mon Mar 28, 2005 1:22 am    Post subject: How to read the data of bitmap file into a memory or array Reply with quote



How to read the data of bitmap file into a memory or array

Thanks a lot!


Back to top
Peter Below (TeamB)
Guest





PostPosted: Mon Mar 28, 2005 8:28 am    Post subject: Re: How to read the data of bitmap file into a memory or ar Reply with quote



In article <42475c4e (AT) newsgroups (DOT) borland.com>, Li wrote:
Quote:
How to read the data of bitmap file into a memory or array


Create a TMemoryStream and call its LoadFromFile method. The Memory
property of the object then gives you a pointer to the first byte of
the files data.


--
Peter Below (TeamB)
Use the newsgroup archives :
http://www.mers.com/searchsite.html
http://www.tamaracka.com/search.htm
http://groups.google.com
http://www.prolix.be



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Graphics 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.