Using BMP, JPEG, GIF, TIFF and other formats with CAD Import VCL

  Third-party libraries integration >

Using BMP, JPEG, GIF, TIFF and other formats with CAD Import VCL

Previous pageReturn to chapter overviewNext page

You can easily add tens of file formats to the viewer made on the basis of CAD Import VCL.

Viewing, zooming (mouse wheel / rectangle / +- ), padding are provided using the TsgDrawingNavigator component. This control can work not only with CAD formats but also with any format for which  TGraphic descendant is made. The Viewer demo shows BMP, JPEG and Windows Metafile. These formats are implemented in Delphi and C++Builder by default. In order to add more formats you need to use third-party libraries - descendants of TGraphic.

There are some freeware GIF libraries.

We suggest using free GraphicEx library https://github.com/mike-lischke/GraphicEx to read TIFF, GFI, SGI, CEL, PIC and other images. This library is released under Mozilla Public License (MPL).

Go to CAD VCL Enterprise