hi there
i work with scanner, and when i scan on multi pages i want to save them to one tiff file.
now i know how to save each page to a different file:
procedure TfdmScan.ImageEnMIOAcquireBitmap(Sender: TObject;
ABitmap: TIEBitmap; var Handled: Boolean);
var
f:TMemoryStream;
begin
try
f:=TMemoryStream.create;
f.Position:=0;
FileInThisScanCounter:=FileInThisScanCounter+1;
ForceDirectories(DirToScanInto);
ABitmap.VclBitmap.SaveToFile(DirToScanInto+remark+IntToStr(FileInThisScanCounter)+'.tif');
ShellShowDirectory(DirToScanInto);
if fProgress.breakFlag then exit;
Application.ProcessMessages;
finally
f.Free;
end;
end;
thanks
croudo assaf
CroudoMan