Standard and Third-Party Image Formats
RichView documents can contain images of any format supported by Delphi/C++Builder. The standard graphic formats are:
- bitmaps (TBitmap);
- windows (16-bit) and enhanced (32-bit) metafiles (TMetafile);
- icons (TIcon);
- Jpeg images (TJPEGImage, since Delphi 3);
- Gif images (TGifImage, a standard graphic class since Delphi 2007).
You can add a support for additional graphic formats using third-party graphic classes (descendants of TGraphic). Animation is supported.
Example:
gif: TGifImage;
...
gif := TGifImage.Create;
gif.LoadFromFile('demo.gif');
editor.InsertPicture('Demo Gif Image', gif, rvvaBaseLine);
Additional information: How to use PNG and GIF images in TRichView.
|