Saving a field containing text and images

Richard Gaskin ambassador at fourthworld.com
Sat Aug 25 14:02:50 EDT 2007


Éric Miclo wrote:

> Well, I'd like to save the field in RTF with images embeded so other  
> apps could open it.
> The problem is that I don't know how to add an image to a RTF file.  
> I've played with base64Encode, imageData, etc without result.
> In fact I have no idea in what format the image has to be encoded to  
> add it at a RTF file.
> Do you have some example?

Not at the moment. I've never had a need for this myself, but if I did 
I'd find the published RTF specs and figure out what they require:

<http://www.google.com/search?q=RTF+specification>

I'm sure it'll be tedious to craft, but probably not prohibitively 
complicated.

-- 
  Richard Gaskin
  Managing Editor, revJournal
  _______________________________________________________
  Rev tips, tutorials and more: http://www.revJournal.com



More information about the use-livecode mailing list