IEVision 4.5.0.0 for ImageEn

In order to use IEVision you must copy the ievision.dll library to the same folder as your executable or in any location in the system path.
You can check if ievision.dll is accessible by ImageEn calling IEVisionAvailable function. For example:

if not IEVisionAvailable() then begin ShowMessage(‘This application requires the ievision.dll plugin’); Application.Terminate; exit; end;

The ievision unit exports all interfaces and helper functions, plus the IEVisionLib public field which encapsulates the factory class TIEVisionLibrary.

It is possible to encapsulate an ImageEn bitmap (TIEBitmap) inside a IEVision bitmap (TIEVisionImage), but it is necessary to change the TIEBitmap origin. For example:

ImageEnView1.IEBitmap.Origin := ieboTOPLEFT; image := IEVisionLib.createImage(ImageEnView1.IEBitmap.Width, ImageEnView1.IEBitmap.Height, ievUINT8, 3, ImageEnView1.IEBitmap.Rowlen, ImageEnView1.IEBitmap.ScanLine[0]);

This way you can use all IEVision functions sharing the results to a TImageEnView embedded image. It is also possible to create an IEVision image from scratch and then copy it to TIEBitmap or TImageEnView.

ievision, IEVision, ImageEnView1, IEBitmap, ImageEn, IEVisionAvailable, example, TIEBitmap, image, requires, plugin’, Application, TImageEnView, bitmap, possible, application, IEVisionLib, functions, Terminate, library, ievision, IEVision, IEBitmap, ImageEnView1, ImageEn, IEVisionAvailable, TIEBitmap, image, example, DOWNLOAD, plugin, Application, TImageEnView, bitmap, possible, requires, IEVisionLib, functions, Terminate, system

 

DOWNLOAD