An ImageBuffer object contains the image data of one frame. IC Imaging Control's internal ring buffer consists of ImageBuffers.
All image buffers of the ring buffer can be retrieved from the ImageBuffers collection.
This example illustrates how to obtain the first available image buffer:
Dim Buffer As ImageBuffer Set Buffer = ICImagingControl1.ImageBuffers.Item(1)
Introduced in IC Imaging Control 1.x
Property | Description | ||
FrameType | Returns a FrameType object describing the image format of this ImageBuffer. |
||
ImageDataPtr | Returns the address of the first byte of the image data. |
||
Lines | Returns the number of lines in this ImageBuffer. |
||
Locked | Returns True if the ImageBuffer is locked. |
||
Picture | Returns a Picture object created from the data in the buffer. |
||
PixelPerLine | Returns the number of pixels in each line of this ImageBuffer. |
||
SampleEndTime | Returns the reference end time of the sample in the image buffer. |
||
SampleStartTime | Returns the reference start time of the sample in the image buffer. |
||
WasLockedFlag | Returns the WasLockedFlag. |
||
Method | Description | ||
ForceUnlock | Reduces the lock count immediately to 0. Therefore, an image buffer is unlocked, enabling IC Imaging Control to copy an image to it. |
||
GetDib | Returns a handle to a DIB for further imaging toolkits. This property is only available in the COM interface (Visual Basic 6). |
||
GetImageData | Provides direct access to the data in the image buffer. This property is only available in the COM interface (Visual Basic 6). |
||
Lock | Locks the buffer |
||
ReleaseImageData | Releases a SAFEARRAY that was acquired by a call to ImageBuffer.GetImageData. This property is only available in the COM interface (Visual Basic 6). |
||
SaveAsBitmap | Saves the contents of the buffer to a bitmap file on disk. |
||
SaveAsJpeg | Saves the contents of the buffer to a JPEG compressed file to disk. |
||
SaveImage | Saves the contents of the buffer to disk. |
||
Unlock | Unlocks the buffer |
||