Smallest RTF file which can import or embed an image

D

denzel

Hello,

i would like to have the smallest rtf file to import or embed an image.
Right now, this is what i have:

For an embedded image:
{\rtf1\ansi
{\pict \pngblip 89... (hexdump of png file) ...82 }
}

This doesn't work in Wordpad (XP Home SP2) but works for Word 2002.

For a linked image:
{\rtf1\ansi
{\fonttbl\f0\fnil Monospaced;}
\par {{\field\fldpriv{\*\fldinst{\\import c:\image.png}}{\fldrslt }}}
}

Same (doesn't work in Wordpad but works for Word 2002).

Thanks for your help
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top