-
Notifications
You must be signed in to change notification settings - Fork 31
Description
Since I need to create the RTF document programmatically, I decided to use the open source project NRtfTree. Some basic formatting worked well until I tried to create an RTF document with images such as this. The document was created properly but to my disappointment the image was not displayed when the document was open with my program and with Pocket Word. On the other hand, Wordpad, and Office Word, displayed the image just fine. It took me a long time before I figured out the cause - the RichInk control (and the RichEd50W control used by Pocket Word) only supports binary images, and not hex images. For example the following picture will be discarded:
{\pict\pngblip\picw10449\pich3280\picwgoal5924\pichgoal1860 hex data}
but the following will work:
{\pict\pngblip\picw10449\pich3280\picwgoal5924\pichgoal1860\bin binary data}