IC Imaging Control C++

FrameTypeInfo::FrameTypeInfo Method

FrameTypeInfo::FrameTypeInfo Method

Constructs a new FrameTypeInfo.
Syntax:
FrameTypeInfo();
FrameTypeInfo( tColorformatEnum fmt, unsigned int width = 0, int height = 0, unsigned int buf_size = 0 );
FrameTypeInfo( tColorformatEnum fmt, const SIZE& dim, unsigned int buf_size = 0 );
FrameTypeInfo( const GUID& subtype, unsigned int width = 0, int height = 0, unsigned int buf_size = 0 );
FrameTypeInfo( const GUID& subtype, const SIZE& dim, unsigned int buf_size = 0 );
FrameTypeInfo( unsigned int buf_size );
Parameter Description
fmt

Color format of the frame type.

width

Width of the frame type. A value of 0 allows any width.

height

Height of the frame type. A value of 0 allows any height.

buf_size

Number of bytes required for one frame.

dim

Width and height of one frame in a SIZE structure.

subtype

GUID of the frame format. Please refer to Standard Mediasubtype GUIDs for more information. If GUID_NULL is specified, the created frame type is compatible to all color formats (pixel depth and pixel organization).

See also: FrameTypeInfo, tColorformatEnum, Standard Mediasubtype GUIDs

<< FrameTypeInfo

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