Xtreme .Net Talk
Forums
New posts
Search forums
What's new
New posts
New profile posts
Latest activity
Members
Registered members
Current visitors
New profile posts
Search profile posts
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Xtreme .Net Talk
.NET
Graphics and Multimedia
Please help! Error when converting byte array to image
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="JohanPrinsloo" data-source="post: 468225" data-attributes="member: 45661"><p>Hi, should I use the following perhaps? But how? I am a bit lost...</p><p></p><p> Public Declare Function AET60_ConvertBitmap Lib "AET60.dll" (ByRef SampleBuffer As FBITMAP, ByRef Length As Integer, ByRef bitData As Byte) As Integer</p><p></p><p> Public Structure FBITMAP</p><p> Dim Width As Integer</p><p> Dim Height As Integer</p><p> Dim Bitmap As fDataStructure</p><p> End Structure</p><p></p><p> Public Structure fDataStructure</p><p> Dim Length As Integer</p><p> Dim Data() As Byte</p><p> End Structure</p></blockquote><p></p>
[QUOTE="JohanPrinsloo, post: 468225, member: 45661"] Hi, should I use the following perhaps? But how? I am a bit lost... Public Declare Function AET60_ConvertBitmap Lib "AET60.dll" (ByRef SampleBuffer As FBITMAP, ByRef Length As Integer, ByRef bitData As Byte) As Integer Public Structure FBITMAP Dim Width As Integer Dim Height As Integer Dim Bitmap As fDataStructure End Structure Public Structure fDataStructure Dim Length As Integer Dim Data() As Byte End Structure [/QUOTE]
Insert quotes…
Verification
Post reply
.NET
Graphics and Multimedia
Please help! Error when converting byte array to image
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top
Bottom