ImageEn, unit ievision

TIEVisionImage.create

TIEVisionImage.create


Declaration

procedure create(width: int32_t; height: int32_t; channelFormat: TIEVisionChannelFormat; channels: int32_t); safecall;


Description

Allocates (if necessary) an image with the specified parameters.

Parameter Description
width Image width
height Image height
channelFormat Type of channels (8 bit, 8 bit unsigned, 16 bit, etc...)
channels Number of channels (1 = gray scale, 3 = color)


Example

// create empty image
image := IEVisionLib.createImage();
// allocate 1000x1000 RGB image
image.create(1000, 1000, ievUINT8, 3);


See Also

createImage