473,402 Members | 2,061 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

how to display finger image on VB6 application

Hello..
I have got finger image data as raw pixel data scan lines from the top,
left to the bottom, right. Also, have image height & width in pixels;
BPP is avail.
I need to display this image data on VB application & have don't have
much experience in VB development, can some-one please help me in
displaying image data as bitmap or if i can save this data in .bmp file.

Thanks
*** Sent via Developersdex http://www.developersdex.com ***
Sep 19 '07 #1
2 1789
"NishCA" <no****@devdex.comschrieb
Hello..
I have got finger image data as raw pixel data scan lines from the
top, left to the bottom, right. Also, have image height & width in
pixels; BPP is avail.
I need to display this image data on VB application & have don't
have much experience in VB development, can some-one please help me
in displaying image data as bitmap or if i can save this data in
.bmp file.
You can use one overload of the Bitmap constructor:

Public Sub New(ByVal width As Integer, ByVal height As Integer, ByVal stride
As Integer, ByVal format As System.Drawing.Imaging.PixelFormat, ByVal scan0
As System.IntPtr)
You will probably have to be very carefull with the pointer (scan0). You get
it by creating a GC handle (GCHandle) using GCHandle.Alloc, then call
AddrOfPinnedObject of the returned object. Don't destroy it (by calling the
GCHandle's Free method) before the Bitmap is disposed. ..... I'm assuming
you have the pixel data in a byte array or similar. If you already have the
IntPtr, forget what I wrote.
Armin

Sep 19 '07 #2
On Sep 19, 3:56 am, NishCA <nos...@devdex.comwrote:
Hello..
I have got finger image data as raw pixel data scan lines from the top,
left to the bottom, right. Also, have image height & width in pixels;
BPP is avail.
I need to display this image data on VB application & have don't have
much experience in VB development, can some-one please help me in
displaying image data as bitmap or if i can save this data in .bmp file.

Thanks

*** Sent via Developersdexhttp://www.developersdex.com***
You should note you posted in the wrong newsgroup (judging from your
header).

If you are dealing with VB6 you need to post to the
comp.lang.basic.visual.misc newsgroup and not this one, which is
dedicated to Visual Basic .NET (VB 2002, VB 2003, VB 2005, VB 2008).

Thanks,

Seth Rowe

Sep 19 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Wally | last post by:
I am trying to display images from an Access 2000 database and I get an error "Invalid Parameter Used" when I execute the code line "picBLOB.Image = Image.FromStream(stmBLOBData)" in my Visual...
4
by: Kevin Myers | last post by:
Hello, Please forgive my reposting of this note with hopefully a more relevant subject line. On an Access 2000 form under Windows 2000 I would like to use a Kodak Image Edit Control to...
1
by: Adam | last post by:
I am having difficulty retrieving images from a SQL database. Here is the code I use to UPLOAD the image to the database: <form id="Form1" method="post" enctype="multipart/form-data"...
3
by: c676228 | last post by:
Hi everyone, I have a piece of code in sales.aspx.vb like this: Protected WithEvents Message As System.Web.UI.WebControls.Label Try ... ChartImage.ImageUrl = "ChartGenerator.aspx?" + DataStr +...
0
by: adubra | last post by:
Hi there, I am using a device context (DC) and a buffer to successfully draw to screen. However, when I update the DC at very high frame rate and drag the frame containing the image very quickly...
1
by: nanaalwi | last post by:
Hi, Currently I'm developing a software using VB.net that can grab an image using Matrox Morphis card and display it in a PictureBox. The software can grab the image already and display it in the...
2
by: smorrison64 | last post by:
I have a form that is coded to open a File Dialog boc to pick a picture to display on that particular item on a subform. My form is not based on query, but rather two separate tables (one primary,...
9
by: chandru4ni | last post by:
Hello, I know there exits Windows APIs for reading the logon credentials. We can read the logon password using the APIs. I am working on a module which requires the finger print ID associated...
2
by: cherychoclatecandy | last post by:
hi all, I have code like this in a windows application that displays bytes of array in a picture box. This codes are in VB. Dim UserPassport As Passport = New Passport() m_OperationObj =...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.