Click here to Skip to main content
15,887,267 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hii every one

Iam in a requirement of capturing Signature on touch screen Mobile and saving the Signature Image as an .jpg or .bmp or .gif on the device.
Could someone give code for the above requirement.
Posted
Updated 29-Oct-10 3:42am
v2

Thanks very much for the quick reply.

Actually Iam able to create a form for accepting signature.
But it is stored in hexadecimal format in a text file.
Iam unable to convert it to a Image file ( ex: .gif or jpg or bmp).
So is there a code where the signature is stored as a Image file.
 
Share this answer
 
Comments
[no name] 1-Nov-10 5:04am    
yeah its handy enough - same code as binary, il try 2 find it..
Thanks for the help.
I got the solution from the following link

http://www.codeproject.com/KB/windows/Signature_Capture_PPC.aspx[^]
 
Share this answer
 
 
Share this answer
 
Comments
Dalek Dave 1-Nov-10 5:44am    
Good Link.
byte[] byteArray = HexEncoding.GetBytes(hexString, out discarded);
MemoryStream stream = new MemoryStream( byteArray );
Bitmap bitmap = new Bitmap( stream );
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900