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
 Acquire from scanner without imageenview component

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
nwscomps Posted - Jan 21 2019 : 06:40:45
I have placed aTimageenMIO on a form. I want to acquire from scanner without using imageenview or imageenMView.
So I write:

if imageenioscan.selectacquiresource([ieaTwain, ieaWIA, ieaDCIM]) then
imageenioscan.Acquire;

and then I handle the event:

procedure TForm1.ImageEnIoScanAcquireBitmap(Sender: TObject; ABitmap: TIEBitmap;
DpiX, DpiY: Integer; var Handled: Boolean);
begin
newimage('',false, ABitmap);
end;

After I select the source nothing happens

Francesco Savastano
Add-ons for the ImageEn Library
web: http://www.fssoft.it/delphicomps.html
3   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jan 31 2019 : 16:26:38
Hi Francesco

I tried to reproduce this, but could not (I used the All Acquire demo and replaced the TImageEnMView with a TImageEnMIO).

I did find a bug that causes the params list to become misaligned in this configuration. It's possible that this is causing the problem, but your OnAcquireBitmap event should still have been called (at least once).

Does your TImageEnMIO.MBitmap contain any images after the acquire?

Nigel
Xequte Software
www.imageen.com
nwscomps Posted - Jan 31 2019 : 04:27:25
Hi Nigel it was failing to show the acquisition form, and I applied a small fix to Imageen. Now the acquisition method form appears and I can select the method. I selected wia, to take the pictures from my tablet, but after that nothing happens.

Francesco Savastano
Add-ons for the ImageEn Library
web: http://www.fssoft.it/delphicomps.html
xequte Posted - Jan 27 2019 : 17:35:10
Hi Francesco

I tested this today and could not reproduce using Twain.

Can you confirm what acquisition method you are using (Twain, WIA or DCIM). Does changing to a different method work?

Also, is it displaying the acquisition UI or does it fail before this?

Nigel
Xequte Software
www.imageen.com