ok I think I have found a way but not sure if it is the best way!
var
ImgStream: TMemoryStream;
begin
try
ImgStream := TMemoryStream.Create;
FImage := TMultiImage.Create;
ASCIIImg.Picture.Graphic.SaveToStream(ImgStream);
ImgStream.Position := 0;
FImage.LoadMultiFromStream(ImgStream);
finally
ImgStream.Free;
end;
...Then I am saving this way like in the Demo
var
CopyPath: string;
begin
SaveDlg.Filter := Imaging.GetImageFileFormatsFilter(False);
SaveDlg.FileName := ChangeFileExt(ExtractFileName(FFileName), '');
SaveDlg.FilterIndex := Imaging.GetFileNameFilterIndex(FFileName, False);
if SaveDlg.Execute then
begin
CopyPath := ChangeFileExt(SaveDlg.FileName, '.' +
Imaging.GetFilterIndexExtension(SaveDlg.FilterIndex, False));
FImage.SaveToFile(CopyPath);
end;
* This code "is" saving the images, but is there a better way?
Many thanks
Shamballa