Good day!
Can I transfer in javascript image obtained by the method GetImage ()?
Is it possible in javascript to know the size of the image? Show it on the page?
Can I transfer in JS image obtained by the method GetImage()
Moderator: Alex
-
- Posts: 3
- Joined: Tue Aug 17, 2010 12:46 pm
-
- Posts: 64
- Joined: Wed Jul 23, 2008 2:47 pm
Re: Can I transfer in JS image obtained by the method GetImage()
Hi,
Please look into our examples for JavaScript: "\Examples\JavaScript".
There is realized a way how to preview acquired image in IE.
Regards
Please look into our examples for JavaScript: "\Examples\JavaScript".
There is realized a way how to preview acquired image in IE.
Regards
-
- Posts: 3
- Joined: Tue Aug 17, 2010 12:46 pm
Re: Can I transfer in JS image obtained by the method GetImage()
Hello!
I am well acquainted with your examples and understand their essence.
Can I get a JS array of bytes which are image?
I do not know the languages of the VB and VBScript, but maybe they can get an image as a variable.
After all, the function GetImage returns VB object Picture.
I am well acquainted with your examples and understand their essence.
Can I get a JS array of bytes which are image?
I do not know the languages of the VB and VBScript, but maybe they can get an image as a variable.
After all, the function GetImage returns VB object Picture.
-
- Site Admin
- Posts: 2397
- Joined: Thu Jul 10, 2008 2:21 pm
Re: Can I transfer in JS image obtained by the method GetImage()
You can get image as:
- IPicture (Image) using VSTwain.GetImage method
- HBITMAP using VSTwain.GetImageAsHBitmap method
- DIB (byte array) using VSTwain.GetImageAsDIB method
- Handle to DIB using VSTwain.GetImageAsHDIB method
- Three dimensional array of bytes using VSTwain.GetImageAsByteArray method
Best regards, Alexander
- IPicture (Image) using VSTwain.GetImage method
- HBITMAP using VSTwain.GetImageAsHBitmap method
- DIB (byte array) using VSTwain.GetImageAsDIB method
- Handle to DIB using VSTwain.GetImageAsHDIB method
- Three dimensional array of bytes using VSTwain.GetImageAsByteArray method
Best regards, Alexander