IEVision 4.5.0.0 for ImageEn » Developer.Team

IEVision 4.5.0.0 for ImageEn

IEVision 4.5.0.0 for ImageEn
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.

Only for V.I.P
Warning! You are not allowed to view this text.