FemtoScan Online SDK Documentation

Home :: FsOnlineSDK :: fmutl classes

function encode_image

^ 
Convert intensity data to JPEG format.

Brown palette used for conversion.

Source:
../fmutl/jpgenc.h:19
Author:
ATC
Version:
1.0
Params:
img image data - the intensity map in signed 16-bit integer format. Image data should be arranged is in row-major order (first row, second row, etc.).
width image width.
height image height.
bufsz size of valid data in returned buffer
Returns:
pointer to the encoded data. This data should be deallocated with fmutl_free .
Code:
public extern "C" FMUTL_API void * encode_image ( const short * img ,
int width ,
int height ,
unsigned * bufsz )

(C) Advanced Technologies Center, 2002-2006
For support contact us at fsdev@nanoscopy.net