L_NITFSetImageHeader

#include "ltntf.h"

L_LTNTF_API L_INT L_NITFSetImageHeader(hNitf, uIndex, pImageHeader)

Changes the image header information of a specific image segment.

Parameters

HNITF hNitf

Handle to an existing NITF file, created by calling the L_NITFCreate function.

L_UINT uIndex

A zero-based index of the image segment in the hNitf handle to be changed with the new image header information.

pIMAGEHEADER pImageHeader

Pointer to an IMAGEHEADER structure that contains the new image header information to set in the image segment in the NITF file at the specified index uIndex.

Returns

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

Comments

To retrieve the number of the image segments in the hNitf handle, call the L_NITFGetImageHeaderCount function.

To retrieve the image header for a specific image segment, call the L_NITFGetImageHeader function.

Required DLLs and Libraries

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.