Appends an image data to the image segment inside the NITF file.
#include "ltwrappr.h"
L_INT LNITFFile::AppendImageSegment(pBitmap, nFormat, nBpp, nQFactor)
Pointer to a LBitmapBase class object that references the bitmap that holds the image data to be inserted into the image segment in the NITF file.
Output file format. Possible values are FILE_JPEG and FILE_JPEG_RGB.
Bits per pixel of the image data to be inserted in the image segment into the NITF file. Possible values are 8 and 24-bits.
Value that represents the degree of loss in the compression process, used when inserting an image into NITF file. Possible values range from 2 to 255, where 2 is the highest quality and 255 is the most compression.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
For an example, refer to LNITFFile::Create.