IC Imaging Control C++

New Functions

New Functions

List of all functions that were introduced in IC Imaging Control 3.0

getBitsPerPixel

Returns the number of bits needed to store one pixel of image data in the specified format.

getSubtypeFromColorformat

Returns the media subtype GUID, corresponding to the specified color format.

getColorformatFromSubtype

Returns the tColorformatEnum, corresponding to the specified media subtype.

calcBufferSize

Calculates the number of bytes needed to store one frame of image data with a specified dimension and color format.

calcRequiredBuffersize

Calculates the number of bytes needed to store one frame of image data with the specified FrameTypeInfo.

createBitmapInfoHeader

Creates a BITMAPINFOHEADER structure filled with the frame type description from a FrameTypeInfo.

convertToString

Creates a string representation from a FrameTypeInfo.

isBottomUpFrameType

Checks whether a frame type is a bottom-up video format.

createFCCMediaSubType

Creates a FourCC media subtype from a 4-character-string.

wstoas

Converts a std::wstring into a std::string.

astows

Converts a std::string into a std::wstring.

StringToGUID

Creates a GUID from a string containing the GUID in the format {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}.

GUIDToWString

Returns a string representation of a GUID.

<< New Features Reference

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