L_GetLoadResolution

Summary

Gets the last values set by the L_SetLoadResolution function.

Syntax

#include "l_bitmap.h"

L_LTFIL_API L_INT L_GetLoadResolution(nFormat, pWidth, pHeight, pLoadOptions)

Parameters

L_INT nFormat

File format. The following are possible values:

Value Meaning
FILE_PCD [57] Kodak PhotoCD
FILE_FPX [80] Kodak FlashPix
FILE_FPX_SINGLE_COLOR [81] Kodak FlashPix
FILE_FPX_JPEG [82] Kodak FlashPix
FILE_FPX_JPEG_QFACTOR [83] Kodak FlashPix
FILE_JBIG [115] JBIG
FILE_JBIG2 [183] JBIG 2
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_UINT* pWidth

Address of the variable to be updated with the last width value that was set.

L_UINT* pHeight

Address of the variable to be updated with the last height value that was set.

pLOADFILEOPTION pLoadOptions

Pointer to optional extended load options. Pass NULL to use the default load options.

Returns

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

Required DLLs and Libraries

Platforms

Win32, x64, Linux.

See Also

Functions

Topics

Example

For an example, refer to L_ReadLoadResolutions.

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 API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.