IC Imaging Control .NET

ImageBuffer [Deprecated]

ImageBuffer [Deprecated]

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.

Example

This example illustrates how to obtain the first available image buffer:

[C#]
ImageBuffer Buf = ICImagingControl1.ImageActiveBuffer;

Information

Namespace: TIS.Imaging
Introduced in version 1.x
This class is deprecated since version 3.5.
Use a newer sink like FrameQueueSink or FrameSnapSink

Inheritance

IFrame
ImageBuffer

Properties

Property Description
Bitmap

Returns a bitmap object representing the image data of this ImageBuffer.

BitsPerPixel

Retrieves the bits per pixel in this ImageBuffer.

BytesPerLine

Returns the number of Bytes in each line of this ImageBuffer.

FrameType

Returns a FrameType object describing the image format of this ImageBuffer.

Index

Returns the index of this buffer in the ring buffer.

Lines

Returns the number of lines in this ImageBuffer.

Locked

Returns True if the ImageBuffer is locked.

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.

Methods

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.

GetByteData

Gets the Bytedata at an specific index of an imagebuffer.

Lock

Locks the buffer

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.

SaveAsTiff

Saves the contents of the image buffer as a TIFF file.

SaveImage

Saves the contents of the buffer to disk.

SetByteData

Sets the Bytedata at an specific index of an imagebuffer.

Unlock

Unlocks the buffer

<< Classes

Get in touch with us


About The Imaging Source

Established in 1990, The Imaging Source is one of the leading manufacturers of industrial cameras, frame grabbers and video converters for production automation, quality assurance, logistics, medicine, science and security.

Our comprehensive range of cameras with USB 3.1, USB 3.0, USB 2.0, GigE interfaces and other innovative machine vision products are renowned for their high quality and ability to meet the performance requirements of demanding applications.

Automated Imaging Association ISO 9001:2015 certified

Contact us