IC Imaging Control ActiveX

FrameHandlerSink.FrameTypes Property

FrameHandlerSink.FrameTypes Property

The FrameTypes collections allows the specification of valid image formats for the ImageBuffer collection.
Public FrameTypes As FrameTypes

Read only.


The following example shows how to setup a FrameHandlerSink that only accepts the 8-bit-gray image formats Y800 and RGB8.

Dim fhs As New FrameHandlerSink

Dim ftY800 As New FrameType
ftY800.Type = "Y800"
fhs.FrameTypes.Add ftY800
Dim ftRGB8 As New FrameType
ftRGB8.Type = "RGB8"
fhs.FrameTypes.Add ftRGB8

ICImagingControl1.Sink = fhs


To let a sink only accept images in the bayer format BY8, the following source code can be used:

Dim fhs As New FrameHandlerSink

Dim ftBY8 As New FrameType
ftBY8.Type = "BY8"
fhs.FrameTypes.Add ftBY8

ICImagingControl1.Sink = fhs

See also: FrameHandlerSink, FrameTypes

<< FrameHandlerSink

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