Luxand FaceCrop SDK – Support Functions

fcSetJpegQuality

Sets quality of JPEG compression to use in the fcFaceCrop function.

C++ Syntax:

int fcSetJpegQuality(int Quality);

Delphi Syntax:

function fcSetJpegQuality(Quality: integer): integer;

C# Syntax:

int fc.SetJpegQuality(int Quality);

PHP Syntax:

int fcSetJpegQuality(int $Quality, int $ContextID);

VB Syntax:

Function fcVBSetJpegQuality Lib(ByVal quality As Long) As Long

Parameters:

Quality – quality of JPEG compression. Varies from 0 to 100.

Return Value:

Returns fcErrorOk if successful.

 

Next chapterError Codes

Contents