getting the bytes of an image

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

i need to do some intense manipulation of an image/bitmap object, and i would like to outsource the heavy work to a c++ dll. the problem is, i'm having trouble finding a memory address to pass the dll as to where the data is really located (i assume it's in a bitmap format *fingers crossed*).

i've searched all over the web for hours to no avail... perhaps, you, the kind patrons of this newsgroup know of a solution?
 
Hi Dudzcom,

Beneath is the in my eyes simplest way to get the bytes from an image,
however I would not use this when I see what you tell. I would look first
look for

http://msdn.microsoft.com/library/d...n-us/cpref/html/frlrfsystemdrawingimaging.asp

I hope this helps?

Cor

\\\
dim abyt() as Byte
If fo.ShowDialog = DialogResult.OK Then
Dim fs As New IO.FileStream(fo.FileName, _
IO.FileMode.Open)
Dim br As New IO.BinaryReader(fs)
abyt = br.ReadBytes(CInt(fs.Length))
br.Close()
End if
///
 
thank you for all your suggestions

i read through all the articles you guys gave me, though the one ken provided proved to be most usefull for my current needs

ken, my hat is off to you for finding such a valuable website, and to the others, my thanks again for your inpup.
 
Back
Top