LFile::GetProperQualityFactor

Summary

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

Syntax

#include "ltwrappr.h"

static L_INT LFile::GetProperQualityFactor(nFileFormat)

Parameters

L_INT nFileFormat

One of LEAD file format constants.

Returns

The quality value that is suitable for the file format.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

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; 
} 
Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.