Home › Forums › TWAIN Classic › DS questions about double-sided scanner
- This topic has 2 replies, 3 voices, and was last updated 10 years, 7 months ago by spike.
- AuthorPosts
From twain2.1, Twain support ICAP_IMAGEMARGE, can be combined with the positive image data and image data is then sent back together a map to the APP, I want to ask is:
1.DS according to which property or which operation to APP that it is sending the image figure two synthesis of a map
2 in the transmission of image, APP will have a get this image information of the operation of DG_IMAGE / DAT_IMAGEINFO, the operation need to tell the APP height width this hybrid image practical? Such as a positive image width is 100px, height is 200px, the back is the same, if font on top mode, then the image is obtained by mixing the width is 100px, height is 400px, these information needs to be lost to APP in the transmission of a hybrid image prequel, is to transfer a leaflet width (100px), height (200px), or transmission mixed width 100px, height (400px)?
3.APP will own the image separation of mixed? And if I used the twain2.1 version of the hybrid image method, the hybrid image version 2.1 supports only APP can use I sent?
从twain2.1后,twain支持ICAP_IMAGEMARGE,可以将正面图像数据和背面图像数据合并在一起然后传送一张图给APP,我想问的是:1.DS根据哪个属性或哪个操作向APP说明当前它正发送的是两张图合成一张图的图像
2.在传输图像之前,APP会有一个得到这张图像信息的操作DG_IMAGE / DAT_IMAGEINFO,在这个操作里需要告诉APP这张混合图像实际的高度宽度吗?如正面图像宽度为100px,高度为200px,背面也是一样,如果为font on top模式,那么混合得到的图像就是宽度为100px,高度为400px,这些信息需要在传输一张混合图像前传输给APP,是要传输单张的宽度(100px),高度(200px),还是传输混合的宽度100px,高度(400px)呢?
3.APP会自己将混合的图像分离吗?还有如果我用的twain2.1版本的混合图像办法,那只支持2.1以下版本的APP能够使用我发送的混合图像吗?
another translation:
As you know, since twain2.1, it supports ICAP_IMAGEMERGE, which merges images of both front side and back side to one image and send to an APP.
My questions are:
1. Which property or operation can be used for DS to tell the APP the sent/sending image is a merged image or just a single image.
2. Before transferring a image, the APP will do an DG_IMAGE / DAT_IMAGEINFO operation to get the information of the image. Should the height and width of the merged image be transferred in this operation?
For example, the image is 100px in width and 200px in height on both front and back sides. Assume it’s front on top mode, then the merged image size is 100px in width and 400px in height. If these information should be transferred to the APP, should I transfer the single page size(100px in width, 200px in height), or merged page size(100px in width, 400px in height)?
3. Does APP split the merged images by itself?
Plus, if I use the way which twain2.1 merges the images, can the APP which support earlier twain version get the merged images I sent correctly?Hi Pamxy – unless you have an application that you KNOW needs this feature, there is no reason to worry about ICAP_IMAGEMERGE.
I have never used it in an application, implemented it in a DS, or seen a DS that supported it, or heard of it being used.I urge you to make all the basic features of your DS work correctly first. Someday (in 5 years) when somebody asks for this feature, then write this code.
8)- AuthorPosts