An ImageBuffer object contains the image data of one frame. IC Imaging Control's internal ring buffer consists of ImageBuffers.
This example illustrates how to obtain the first available image buffer:
Dim bmp As Bitmap bmp = IcImagingControl1.ImageActiveBuffer.Bitmap bmp.Save("C:\membuf.png", System.Drawing.Imaging.ImageFormat.Png)
Bitmap bmp = ICImagingControl1.ImageActiveBuffer.Bitmap; bmp.Save("C:\membuf.png", System.Drawing.Imaging.ImageFormat.Png);
Introduced in version 1.x
Returns a bitmap object representing the image data of this ImageBuffer.
Retrieves the bits per pixel in this ImageBuffer.
Returns the number of Bytes in each line of this ImageBuffer.
Returns a FrameType object describing the image format of this ImageBuffer.
Returns the index of this buffer in the ring buffer.
Gets or sets bytes in the image data of this ImageBuffer
Returns the number of lines in this ImageBuffer.
Returns True if the ImageBuffer is locked.
Returns the number of pixels in each line of this ImageBuffer.
Returns the reference end time of the sample in the image buffer.
Returns the reference start time of the sample in the image buffer.
Returns the WasLockedFlag.
Reduces the lock count immediately to 0. Therefore, an image buffer is unlocked, enabling IC Imaging Control to copy an image to it.
Gets the Bytedata at an specific index of an imagebuffer.
Returns a pointer to the image data.
Locks the buffer
Saves the contents of the buffer to a bitmap file on disk.
Saves the contents of the buffer to a JPEG compressed file to disk.
Saves the contents of the image buffer as a TIFF file.
Saves the contents of the buffer to disk.
Sets the Bytedata at an specific index of an imagebuffer.
Unlocks the buffer
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.