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
 Bug - no onprogress event - Twain

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
arotton Posted - Jan 17 2014 : 13:07:33
progress between twain pages .. onprogress event not executing for ImageEnMView
tested with Demos\ImageAcquisition\AllAcquire
6   L A T E S T    R E P L I E S    (Newest First)
madas Posted - Oct 12 2015 : 00:29:12
Hi,

Nigel i use 6.2.0.27.5658 of ImageEn purchased last week. :)

madas
xequte Posted - Oct 09 2015 : 04:10:04
Hi

Yes, it is Twain and the OnFinishWork event is fired too. Perhaps your driver does not support progress return?

Are you using v6.2.0?


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
madas Posted - Oct 09 2015 : 00:53:48
Sorry to ask again but you are using the twain drivers and not the wia drivers?

Btw: the OnFinishWork event isn't fired too. :(

madas

PS: I am using a Fujitsu fi-5220C.
xequte Posted - Oct 08 2015 : 20:13:49
Hi

I cannot reproduce that with the AllAcquire demo. It correctly returns the progress when acquiring from my test Twain devices.

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
madas Posted - Oct 08 2015 : 08:39:10
Have the same problem. The OnProgress event gets not fired for Twain scaning. Only for WIA-scaning. But it isn't reporting the progress of the scaning process only the transfer to the ImageEnMView which for my eyes makes no sence because the transfer is done in milliseconds. :(

Could be tested with the "Demos\ImageAcquisition\AllAcquire" Demo.
Very strange behavior.

I would expect that the OnProgress event gets fired for all operations which were done with the ImageEnMView component. Loading, Saving, scaning and so on.

via ImageEnMView1.MIO.TwainParams.ProgressIndicators := chbxTwainProgress.Checked; you can hide the org. twain progress dialog so then i want to show the progress of the scaning process within my own window. Is there a chance to implement this behavior? Any example?

thx in advance.

madas

PS: WIA scaning is annoying. :D

w2m Posted - Jan 21 2014 : 11:03:55
I tested the demo you are referring to and found that it works as expected.

The Twain dialog displays the scanners progress, then when the scan is complete the progress bar on the form also show progress when the image is transferred to ImageEnMView.

This is expected because this is the code that sets the progressbar position:
procedure TfrmMain.ImageEnIO1Progress(Sender: TObject; per: Integer);
const
  Show_Images_As_Acquired = True;
begin
  ProgressBar1.Position := per;
  if Show_Images_As_Acquired then
  begin
    ImageEnMView1.Update;
    Application.ProcessMessages;
  end;
end;

This code only executes when the image is transferred to ImageEnMView.

If you want to control the scanner without using a Twain Dialog then look at the Demos\ImageAquisition\WIAScanner demo. This demo sets the scanner settings by using ImageEnView1.IO.WIAParams. With this demo as the scan ocurrs the progress is shown by the progressbar on the main form for the application.

William Miller
Adirondack Software & Graphics
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html