struct P1::ImageSdk::ImageExportCommonConfig

Overview

Generic export configuration. More…

#include <C_P1ImageCommonTypes.h>

struct ImageExportCommonConfig
{
    // fields

    bool includeExif = true;
    bool includeGps = true;
    bool includeXmp = true;
    bool includeIptc = true;
    bool generateNewPreview = false;
    int xmpSize = 16384;
    char* iccProfileData = nullptr;
    int iccProfileSize = 0;
    GeoTiffField* geoTiffFieldList = nullptr;
    unsigned int geoTiffFieldCount = 0;
};

Detailed Documentation

Generic export configuration.

Fields

bool includeExif = true

If the export should copy the EXIF tags (except GPS) from the source image.

bool includeGps = true

If the export should copy the GPS tags from the source image.

bool includeXmp = true

If the export should copy the XMP block from the source image.

bool includeIptc = true

If the exported image should include a minumum IPTC block (date and time)

bool generateNewPreview = false

If the exported image should have a preview generated instead in inherit the one in the iiq file. This can be usefull if conversions, stitching or stacking is done on the image.

int xmpSize = 16384

The byte size of the XMP block.

char* iccProfileData = nullptr

The ICC color profile data.

int iccProfileSize = 0

The ICC color profile data size in bytes.

GeoTiffField* geoTiffFieldList = nullptr

The ::GeoTIFF fields as an array.

unsigned int geoTiffFieldCount = 0

The count GeoTIFF fields.