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
 slow scanning

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
AndNit Posted - Mar 25 2025 : 09:26:04
Hello!

Our system has been very slow when scanning documents on high-production scanners, such as the Canon iFormula DR-G2110 A3 120ppm 600DPI Scanner.

After scanning a few pages, approximately 20 pages, the scanner slows down and starts to pull one sheet at a time.

It is worth mentioning that this does not happen when I use the manufacturer's software.

Here is the code we are using to scan.

ImageEnMView1.DeSelect;
FillIn;
ImageEnMView1.EnableLoadEXIFThumbnails := True;
ImageEnMView1.MIO.Acquire;


procedure TfrmDigitaliza.FillIn;
begin
  image.IO.TwainParams.VisibleDialog            := True;
  image.IO.TwainParams.ProgressIndicators       := False;
  image.IO.TwainParams.AcquireFrameLeft         := (image.IO.TwainParams.AcquireFrameLeft);
  image.IO.TwainParams.AcquireFrameTop          := (image.IO.TwainParams.AcquireFrameTop);
  image.IO.TwainParams.AcquireFrameRight        := (image.IO.TwainParams.AcquireFrameRight);
  image.IO.TwainParams.AcquireFrameBottom       := (image.IO.TwainParams.AcquireFrameBottom);
  image.IO.TwainParams.PixelType.CurrentValue   := ComboBox2.ItemIndex;
  image.IO.TwainParams.YResolution.CurrentValue := StrToInt(DPIy);
  image.IO.TwainParams.XResolution.CurrentValue := StrToInt(DPIx);
  image.IO.TwainParams.UndefinedImageSize       := True;
  image.IO.TwainParams.BufferedTransfer         := True;
end;
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Mar 25 2025 : 20:47:59
Hi

Are the images huge? If so, the system may be slowing because the application is using memory storing the images in memory. Check the memory usage of the application using Task Viewer.

If this is the cause, consider scanning directly to file (and just showing thumbnails in TImageEnMView).

To scan to file use the OnAcquireBitmap event:

http://www.imageen.com/help/TImageEnMIO.OnAcquireBitmap.html

You can then just append the image to the TImageEnMView with thumbnails enabled:

http://www.imageen.com/help/TImageEnMView.StoreType.html

Nigel
Xequte Software
www.imageen.com