Using IronPDF you can convert your RTF (Rich Text Format) documents with embedded images into PDFs.

Convert Rich-Text content into PDF documents by invoking PdfDocument.renderRtfAsPdf. This method can convert rich text content from a string of raw data and also from an external file (referenced as a valid Path object or as a valid String path). The method returns a PdfDocument that the developer can customize further before saving the content to the filesystem (using the saveAs method).

For converting strings of raw rich-text data into PDFs, make sure that the string is formatted properly. renderRtfAsPdf will throw an IOException if the string data isn't formatted properly or if it contains unrecognizable elements (symbols, tags, etc.).