LFileSettings::SetLoadResolution

Summary

Specifies the physical resolution (width and height) of the FlashPix, PhotoCD, ECW, or JBIG file to load.

Syntax

#include "ltwrappr.h"

static L_INT LFileSettings::SetLoadResolution(nFormat, nWidth, nHeight)

Parameters

L_INT nFormat

File format. The following are possible values:

Value Meaning
FILE_PCD [57] Kodak PhotoCD
FILE_FPX [80] Kodak FlashPix
FILE_JBIG [115] JBIG
FILE_JP2 [163] JPEG 2000. This file format contains image data and extra information about the contents and organization of the file.
FILE_J2K [164] JPEG 2000. This file format contains only a stream of image data.
FILE_CMW [165] Wavelet CMP.
FILE_ECW [277] Enhanced Compressed Wavelet.

L_UINT32 nWidth

Width of the bitmap to load. You can pass 0 to get the default.

L_UINT32 nHeight

Height of the bitmap to load. You can pass 0 to get the default.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

For PhotoCD files, you can do either of the following:

For FlashPix files, you can do any of the following:

For JBIG files, you can do any of the following:

For ECW files, you can do any of the following:

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Example

For an example, refer to LFileSettings::GetLoadResolution.

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.