LJp2FileFormat::GetFileInfoMemory

Summary

Gets information about the specified file in the memory and fills the specified L_JP2_FILEINFO structure with the information.

Syntax

#include "ltwrappr.h"

L_INT LJp2FileFormat::GetFileInfoMemory(pBuffer, uBufferSize, pFileInfo)

Parameters

L_UINT8 * pBuffer

Pointer to a JPEG 2000 file in the memory.

L_SIZE_T uBufferSize

Size in bytes of the file referenced by pBuffer.

pL_JP2_FILEINFO pFileInfo

Pointer to the L_JP2_FILEINFO structure to be filled with the information.

Returns

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

Comments

LJp2FileFormat::GetFileInfoMemory gets information about the specified file in the memory and fills the specified L_JP2_FILEINFO structure with the information. You must free this structure by calling the LJp2FileFormat::FreeFileInfo function. All of the engines boxes will be reset.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

For an example, refer to LJp2FileFormat::ReadBoxMemory.

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.