We are converting RTF files to PDF; using INCLUDEPICTURE to link to external images succeeds in that the image is embedded in the PDF however the image is always very tiny, so tiny that you have to zoom in to see it - if your monitor is dirty you may think it is a spec of dirt! However if you open the RTF in Word or WordPad then it shows the image fine.
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Thank you for reporting this problem to us. I managed to reproduce the problem on my side. Your request has been linked to the appropriate issue. You will be notified as soon as it is resolved.
Hello<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Thanks for your request. Unfortunately the issue is still unresolved. And currently I cannot provide you any reliable estimate regarding this problem.
While you are waiting for the fix you can try using the following code to work this problem around:
Document doc = new Document("test.rtf");
//Get collection of shapes from the document
Node shapes = doc.GetChildNodes(NodeType.Shape, true).ToArray();
//Loop though all shapes
foreach (Shape shape in shapes)
// Check if shape is include picture field
string src = shape.ImageData.SourceFullName;
Image img = Image.FromFile(src);
// Get width and height of the image in points.
double width = ConvertUtil.PixelToPoint(img.Width, img.HorizontalResolution);
double height = ConvertUtil.PixelToPoint(img.Height, img.VerticalResolution);
// Set width and height of the shape
shape.Width = width;
shape.Height = height;