Forum Replies Created
- AuthorPosts
Ok, I have been reading a little more and this time I didn’t skip the BOOORING parts of the spec, so I found it out.
Just for the benefit of whoever finds this post, a brief answer:
Twain has transfer modes, the native mode (TwDAT.ImageNativeXfer in my code) receives only an OS-dependent format; for example for windows a DIB image. From the header the application can retrieve the size of the image –> the number of bytes; so far I have seen no method that tells the size of the buffer returned by the native transfer mode.
The TwDAT.ImageMemXfer just points that the transfer must be done using memory mode, which is a completely different transfer method. It returns a bitmap.
To get the PDF (or other custom formats) from the scanner, one should use the DiskFile transfer mode.
- AuthorPosts