IC Imaging Control C++

Functions

Functions

Complete list of all functions.

Methods

Method Description
CanUnloadLibrary

This function checks whether all objects returned by the library are destroyed.

ExitLibrary

This function unloads the library and relinquishes all allocated resources.

GUIDToWString

Returns a string representation of a GUID.

InitLibrary

This function initializes the IC Imaging Control class library.

StringToGUID

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

astows

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

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.

convertToString

Creates a string representation from a FrameTypeInfo.

createBitmapInfoHeader

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

createFCCMediaSubType

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

getBitsPerPixel

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

getColorformatFromSubtype

Returns the tColorformatEnum, corresponding to the specified media subtype.

getSubtypeFromColorformat

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

isBottomUpFrameType

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

saveToFileBMP

This function saves the contents of an image buffer to a .BMP file.

saveToFileJPEG

This function saves the contents of an image buffer to a JPEG file.

saveToFileTIFF

This function saves the contents of an image buffer to a TIFF file.

wstoas

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

<< Class Library 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