Inserting image inline from stream changes its size dramatically.
Run the following code to reproduce:
RadDocument document = new RadDocument();
RadDocumentEditor editor = new RadDocumentEditor(document);
//editor.Insert("some text");
using (FileStream stream = File.OpenRead(@"C:\Temp\picture.jpg"))
{
editor.InsertImage(stream, ".png");
}
File.WriteAllBytes($@"d:\Temp\test\test_doc.pdf", new PdfFormatProvider().Export(document));
The issue is observable after 2017.2.614.