I use TImageEnMView for bulk scanning and upload the scanned images to the server over the internet. The following issue occurs:
At the beginning of the scanning process, the speed is relatively normal. However, as the number of scanned images increases, the scanning speed gradually slows down. After the scanning is completed, it also takes a long time for the scanner to stop completely. I wonder if there are any good solutions to this problem?
My code is as follows:
procedure TScan.ImageEnMViewAcquireBitmap(Sender: TObject; ABitmap: TIEBitmap; DpiX, DpiY: Integer; var Handled: Boolean);
begin
// Upload to the server. Each image takes about 2 seconds.
UpLoadImage(ABitmap);
end;