RtfInlinePicture
class RtfInlinePicture(val bytes: ByteArray, val format: RtfPictureFormat, val widthPx: Int, val heightPx: Int, val goalWidthTwips: Int? = null, val goalHeightTwips: Int? = null) : RtfInline(source)
A picture flowing inside a paragraph, like a large character. See RtfPicture for one on a line of its own; the parameters are the same apart from style. The 96 dpi default size exceeds a 6.5 inch text width for images wider than 624 px, so pass a goal for large images.
Throws
if bytes is empty, a size is not positive, or a size or derived goal does not fit in an Int number of twips.