Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.24
LEADTOOLS Raster imaging C++ Class library help

LFile::GetProperQualityFactor

Show in webframe

#include "ltwrappr.h"

static L_INT LFile::GetProperQualityFactor(nFileFormat)

L_INT nFileFormat;

/* file format */

Retrieves a suitable quality factor for the passed format. For more information, see Compression Quality Factors.

Parameter

Description

nFileFormat

One of LEAD file format constants.

Returns

The quality value that is suitable for the file format.

Required DLLs and Libraries

LTFIL
File format DLLs

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Win32, x64.

See Also

Functions:

Class Members

Example

L_INT LFile__GetProperQualityFactorExample()
{
   L_TCHAR   szMessage[256] ;
   LFile    LeadFile ;
   L_INT nQualityFactor = LeadFile.GetProperQualityFactor(FILE_LEAD) ;
   wsprintf(szMessage,TEXT("Quality Factor = %d\n"),nQualityFactor);
   MessageBox(NULL,szMessage,TEXT("Quality Factor"),MB_OK);
   return SUCCESS;
}
Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.