TTMSFNCRichEditor can't reload file with image

I can't seem to make a TTMSFNCRichEditor load a file with an image.
I have a TTMSFNCRichEditor named introMemo on a form, and I add some text and a jpeg image to it.
I save it with the following code:

try
try
result := False;
filePathGetter := TSegmentFileInfo.Create;
fileName := 'step' + intToStr(tabNumI);
pageFileName := filePathGetter.getNewConceptIntroPathName(fileName);
editorIO := TTMSFNCRichEditorRTFIO.Create(nil);
if assigned(introMemo) then
begin
editorIO.RichEditor := introMemo;
editorIO.Save(pageFileName);
result := True;
end;
except
result := False;
end;
finally
editorIO.Free;
filePathGetter.free;
end;

This part seems to work, and I can open the resulting file with openoffice writer, and it looks OK.

Then I try to open the file into another TTMSFNCRichEditor component, using this code:
try
.
.
.
.
editorIO := TTMSFNCRichEditorRTFIO.create(nil);
editorIO.RichEditor := introMemo;
editorIO.Load(pageFileName);
.
.
.
finally
editorIO.Free;
end;

This fails with an access violation at "FromPicture.SaveToStream(ms)" below:

procedure AssignPicture(FromPicture: TPicture; ToPicture: TGDIPPicture);
{$IFDEF FMXLIB}
var
ms: TMemoryStream;
{$ENDIF}
begin
{$IFNDEF FMXLIB}
ToPicture.Assign(FromPicture);
{$ENDIF}
{$IFDEF FMXLIB}
ms := TMemoryStream.Create;
try
FromPicture.SaveToStream(ms);
ms.Position := 0;
ToPicture.LoadFromStream(ms);
finally
ms.Free;
end;
{$ENDIF}
end;

If the original file just has text, and no picture, it saves and opens again without error.

Please note that my ACTUAL goal is to save to a stream, store it as a blob in mysql, then open it again in the richEditor later. That also failed with an access violation, but it had so many moving parts that I made this as a more simple example to show the problem.

I would deeply appreciate any help.
Thanks
Art

I could not reproduce this here so far.
Do you use the latest version of the components?
If so and a problem persists, please provide at least the problematic RTF file.

Bruno

Thanks for the reply. Since I last wrote, I tried taking out the RTFIO
component, and saving
to RTE (not RTF) directly from the editor component.

This is one of the things I couldn't make work before:
// editorIO := TTMSFNCRichEditorRTFIO.create(nil);
// editorIO.RichEditor := introMemo;
// editorIO.Load(rtfStream);

So far, saving directly to RTE seems to work fine. I think I can
proceed with my project now, but I attach the problematic RTF file
anyway, hoping it might help you discover what the problem was.

Thanks for your help and attention.
Art

(Attachment tstSave.rtf is missing)

Sorry, there seems to be no attachment here?

Bruno

The attachment was rejected with this message:
//////////////////
Unfortunately some attachments in your email message to
["replies+65af3a4c64d9d0814e5c0f1ca22d2455@support.tmssoftware.com"]
(titled Re: [TMS Support Center] [FNC/TMS FNC UI Pack] TTMSFNCRichEditor
can't reload file with image) were rejected.

Details:
tstSave.rtf: Sorry, the file you are trying to upload is not authorized
(authorized extensions: jpg, jpeg, png, gif, txt, log, pdf, htm, html,
zip, xls, xlsx, pas, cs, cpp, hpp, js, dpr, dproj, dfm, cbr, cproj, c,
h).

If you believe this is an error, contact a staff member.
///////////////
Is there an alternative way for me to get it to you?
Thanks
Art

Please put it in a ZIP file and attach.