ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 PixelType Values

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Sidney Egnew Posted - Apr 07 2017 : 16:27:34
Hello,

The AllAcquire demo uses predefined values to populate the color combo box. Some of these values are not valid for my scanners. Additionally, other modes available for my scanners are not listed. The help file indicates the following:

Twain_PixelType_BW (0)Black & white (1 bit)
Twain_PixelType_Grayscale(1) Gray scale (8 bit)
Twain_PixelType_FullRGB (2) Full RGB (24 bit)
Twain_PixelType_Palette (3) Palette (ImageEn can't support this)
Twain_PixelType_CMY (4) CMY (ImageEn can't support this)
Twain_PixelType_CMYK (5) CMYK (ImageEn can't support this)
Twain_PixelType_YUV (6) YUV (ImageEn can't support this)
Twain_PixelType_YUVK (7) YUVK (ImageEn can't support this)
Twain_PixelType_CIEXYZ (8) CIEXYZ (ImageEn can't support this)

Is there a way to select other scanner image modes such as GrayScale, 8 bit Color, etc. that are shown in the twain acquisition dialog?

Thanks, Sidney
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Apr 10 2017 : 20:00:07
Hi Sidney

It sounds like the twain driver is simply exposing both PixelType and BitDepth:

https://www.imageen.com/help/TIETwainParams.PixelType.html
https://www.imageen.com/help/TIETwainParams.BitDepth.html


For a better understanding, see the source code for:

TIEAcquireParams.SetPixelType in iexAcquire.pas

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com