Re: RTF and pictures

Paul Rohr (paul@abisource.com)
Thu, 05 Aug 1999 18:33:45 -0700


At 06:55 AM 7/31/99 +0200, Hubert Figuiere wrote:
>I have an RTF file which contains a picture. When being opened
>with AbiWord, raw data are outputed instead of the picture (or
>just simply ignorance).
>
>Here is the picture description:
>
>{{\pict{\*\picprop\shpli d1025{\sp{\sn shapeType}{\sv
>75}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0} }{\sp{\sn
>fillColor}{\sv 268435473}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn
>fLine}{\sv 0}}}
>\picscalex50\picscaley50\piccropl0\piccropr0\piccropt0\piccropb0\picw28571\
pich1
>0896\picwgoal16198\pichgoal6177\wmetafile8\bliptag1808901232\blipupi-28{\*\
blipu
>id 6bd1a470367c912ac5b95c3b48886695}
>010009000003832a00000700e600000000001100000026060f001800ffffffff00001000670
00000
>26030000b6190000cd0c00000900000026060f000800ffff

Yep. You're right. The RTF importer currently doesn't support pictures.
Have you logged a bug in Bugzilla on this yet?

I'm no RTF expert, but it looks like this might be a vector graphic in a
windows metafile format, which means that it'll be non-trivial to add this
feature.

I believe that Matt Kimball made some headway on an architecture for
implementing vector graphics via SVG (kind of like PNG is our native raster
graphics format), but that code's not currently in the tree. If you're
interested in helping with this feature, he'd be the first person to check
with.

Paul



This archive was generated by hypermail 1.03b2.