Hello Fabrizio!
Thanks for the reply.
Now i another question. I've written the following procedure:
procedure Form1.SetScannerOptions(Left, Top, Bottom, Right: Double);
begin
ImageEnIO1.TWainParams.AcquireFrameEnabled := True;
ImageEnIO1.TWainParams.AcquireFrameLeft := Left;
ImageEnIO1.TWainParams.AcquireFrameTop := Top;
ImageEnIO1.TWainParams.AcquireFrameRight := Bottom;
ImageEnIO1.TWainParams.AcquireFrameBottom := Right;
ImageEnIO1.TWainParams.Update;
ImageEnIO1.TWainParams.VisibleDialog := False;
ImageEnIO1.TWainParams.PixelType.CurrentValue := 0;
ImageEnIO1.TWainParams.YResolution.CurrentValue := 300;
ImageEnIO1.TWainParams.XResolution.CurrentValue := 300;
ImageEnIO1.TWainParams.BufferedTransfer := True;
ImageEnIO1.TWainParams.Update;
end;
I call this procedure before every acquire. But there is the following problem:
1.) When i call it with SetScannerOptions(0, 0, 11.69, 8.26) the resulting image has an size of 850x1150 pixel with 100dpi.
But the resulting image should be 2479x3507 with 300dpi.
2.) When acquire again the application freezed and i can only close the application with the delphi ide or the windows task-manager.
Thank for the help.
Greets Daniel