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
 ImageEnMView.MIO.AcquireParams & ComboBox

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
aleatprog Posted - May 14 2021 : 07:07:43
Hi,

using ImageEn 10.0.0 an ImageEnMView1.MIO.AcquireParams value set by a ComboBox.ItemIndex is altered +1.

Example:

case cbxPixelType.ItemIndex of
  0: ImageEnMView1.MIO.AcquireParams.PixelType := ieapMonochrome;
  1: ImageEnMView1.MIO.AcquireParams.PixelType := ieap8BitGrayScale;
  2: ImageEnMView1.MIO.AcquireParams.PixelType := ieapFullColor;
end;

Passing ItemIndex = 0 the result is PixelType = ieap8BitGrayScale (which is ItemIndex = 1).

Al
3   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - May 16 2021 : 19:31:20
Hi Al

Hmm, it looks like some devices also require WIA_IPA_DEPTH to be specified. I will fix this for 10.0.2. You can email me for an update.


Nigel
Xequte Software
www.imageen.com
aleatprog Posted - May 16 2021 : 04:06:00
Hi Nigel,

b/w scanning is supported by the device and using ImageEnMView1.MIO.AcquireParams.VisibleDialog the same device generates b/w images.

It's a WIA device. TIEAcquireParams.IsPixelTypeSupported returned true.

Al
xequte Posted - May 16 2021 : 01:35:56
Hi Al

If you set PixelType to a format that is unsupported by your device, it will be set to the closest match. You can determine what formats the device supports by using: ImageEnMView1.MIO.AcquireParams.IsPixelTypeSupported()

https://www.imageen.com/help/TIEAcquireParams.IsPixelTypeSupported.html


Nigel
Xequte Software
www.imageen.com