Industrial Cameras FAQ/How can I save an image sent f...

How can I save an image sent from the camera to a file?(No.1541)

TeliCamSDK provides SaveBmpARGB (), SaveBmpRGB (), SaveBmpMono () functions as utility functions to save images in Bmp format.

SaveBmpARGB () is a function to save BGRA format image data specified as argument in 32 bit Bitmap format.
SaveBmpRGB () saves BGR format image data specified as an argument in 24 bit Bitmap format.
SaveBmpMono () saves the 8-bit monochrome image specified as the argument in the 8-bit indexed Bitmap format.
Utility function ConvImage () is available for converting the raw image received from the camera into the BGRA format or BGR format.

CameraUtility class of TeliCamDNetSDK provides .NET wrapper methods for these image saving functions.

Bitmap class of .NET Framework has Save() method for saving the image in various format.
You can utilize Save() method of Bitmap class, by creating Bitmap object using image data converted with CameraUtility.ConvertImage().

(TeliCamUtl.h declares functions for saving an image in JPEG format. These functions are not described in the library manual.
Functions not described in the library manual are not supported. Use them at your own risk when using them. )

back

Was this FAQ helpful?

Please let us know your opinion about the FAQ so that we will be able to improve our FAQ. (Within 800 characters)
Note: If you need a reply to your inquiry (e.g. inquiry about products), please use the inquiries form provided on Contact Us page. Please note that we cannot answer to your questions filled in below.

Please click below to change the cookie settings used on our website.