trichview.com

trichview.support.examples




Re: Example: How to save/load images  in RTF as PNG


Return to index


Author

Message

Sergey Tkachenko

Posted: 11/07/2004 20:46:21


Since v1.9.1.7 (currently available for registered users), all this code is

not

necessary.

Just call  RV_RegisterPngGraphic(TPngObject) before the first RTF

saving/loading.


There is one difference, though. This example code saves in RTF as PNG not

only

TPngObject, but also TBitmap.

But you can covert bitmaps to png yourself.





> RTF files can contain graphics in the following format: bitmap, metafile,

> jpeg, png.

> Import/export of all these formats except for png are supported by

TRichView

> directly.

> But PNG is not, because Delphi does not offer standard implementation of

> png.

> But with help of events you can save and load PNG images in RTF.








Powered by ABC Amber Outlook Express Converter