Hi,
there are two ways.
1) the obvious way using TImageEnMView: acquire using Acquire then save using ImageEnmView.MIO.SaveToFile()
Of course you can still save each page as a separated jpeg, using ImageEnMView.GetImageToFile()
2) using an TImageEnMIO (without TImageEnMView) and handling OnAcquireBitmap. Example:
var
mio:TImageEnMIO;
begin
mio := TImageEnMIO.Create(nil);
try
mio.OnAcquireBitmap := AcquireBitmap;
mio.SelectAcquireSource();
mio.Acquire();
finally
mio.Free();
end;
end;
var idx:integer = 0;
procedure TForm1.AcquireBitmap(Sender: TObject; ABitmap: TIEBitmap; var Handled: boolean);
begin
ABitmap.Write(Format('c:\page%d.jpg', [idx]));
inc(idx);
Handled := true;
end;