JamieKitson
Programmer
Hi,
I am trying to extract embedded images from rtf files. The rtf specification says that the "\wmetafile" control word means that the image I am trying to extract is wmf encoded. However when I extract the data and attempt to load it in to a TMetafile Delphi throws an error. If I save the data to a file Windows can interprit it ok (the dimensions get a little screwed). The image data from the rtf looks right according to the wmf specification, but if I convert the original bmp to wmf and view that data the header looks very different (much longer for a start)
Any help would be very very greatfully recieved, I am at the end of my teather
Cheers, Jamie
I am trying to extract embedded images from rtf files. The rtf specification says that the "\wmetafile" control word means that the image I am trying to extract is wmf encoded. However when I extract the data and attempt to load it in to a TMetafile Delphi throws an error. If I save the data to a file Windows can interprit it ok (the dimensions get a little screwed). The image data from the rtf looks right according to the wmf specification, but if I convert the original bmp to wmf and view that data the header looks very different (much longer for a start)
Any help would be very very greatfully recieved, I am at the end of my teather
Cheers, Jamie