Nigel,
How do you do the same thing, but with LoadFromFile and then call
if Aborting then Replace the corrupted frame with an error.png?
Something like this...
try
ImageEnMView1.MIO.LoadFromFile(AFilePath); {Optional loading method }
except
if ImageEnMView1.MIO.Aborting then
begin
ImageEnMView1.MIO.Params[ImageEnMView1.ImageCount-1].TIFF_ImageIndex := ImageEnMView1.ImageCount-1;
ImageEnMView1.MIO.LoadFromFile(IncludeTrailingPathDelimiter(ExtractFileDir(Application.ExeName)) + 'error.png');
end;
end;
William Miller