Re: Problems with grafics and RTF

Subject: Re: Problems with grafics and RTF
From: Richard Kunze <kunze@xxxxxxxx>
Date: Thu, 4 Mar 1999 20:32:54 +0100
On Wed, 03 Mar 1999, Joaquin Bravo wrote:
>Hi,
>
>I,m converting SGML to RTF working with JADE and the pictures instead of
>being included in the RTF they appear referenced.
>
>{\*\fldinst INCLUDEPICTURE "image.bmp" }
>
>Is it possible the pictures to be included in the RTF code?
>

I've had the exact same problem a couple of weeks ago. I don't know if (or
rather, after having a look at the jade sources I don't think that) it's
possible to do this directly without changing jade (anyone knows better?
Please tell me!). 

My solution was to write a small perl script that scans RTF files for
INCLUDEPICTURE fields and inserts the image as \fldrslt, and run this script on
jades output. Works fine for me so far, but then I've only checked that Word
'97 doesn't choke on its output. YMMV.

The script uses ImageMagick/PerlMagick for accessing and converting (if
necessary) the images, and it uses a slightly modified version of Phillippe
Verdret's perl RTF parser package. Drop me a note if you're interested.

Best regards,

	Richard
--
Richard Kunze
mailto:kunze@xxxxxxxx                tel: +49-6103-5853-127 fax: -200
opus 5 interaktive medien gmbh/Frankfurter Str. 151, D-63303 Dreieich


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread