[Webinar] Streamline your web hosting managementRegister Today

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 804
  • Last Modified:

Encoding Images into an RTF document

Does anyone know how to encode an image into an RTF document?

I've created an RTF template in Word and then had Cold Fusion generate an RTF document by using the template and substituting the template text with CF
variables. The only area that I need a solution for is for the inclusion of an image. RTF encodes the image; does anyone know what kind of encoding it is? I've
converted the image to a binary file using the CFX_BinaryR tag from the gallery, but it doesn't look anything like the image encoding in the RTF template I created.

...or, does anyone have a better idea for approaching this?
1 Solution
The CFCONTENT tag is designed to return content types to a browser other than html.  Try using the CFCONTENT tag to build your RTF document.

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now