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;
    bool includePreview = true;
    bool includeMetricCalibration = true;
    DistortionParamType includeDistortionParameters = DistortionParamType::none;
    BitDepth outputBitDepth = BitDepth::Unknown;
    double overWriteOutputFocalLength = 0.0;
    int xmpSize = 16384;
    char* iccProfileData = nullptr;
    uint32_t iccProfileSize = 0;
    ColorSpace outputColorSpace = ColorSpace::sRGB;
    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.

bool includePreview = true

If thex export should include a preview.

bool includeMetricCalibration = true

include metric calibration if present

DistortionParamType includeDistortionParameters = DistortionParamType::none

include distortion parameters if present

BitDepth outputBitDepth = BitDepth::Unknown

If the export should convert bitmap image to a different bit depth.

int xmpSize = 16384

The byte size of the XMP block.

char* iccProfileData = nullptr

The ICC color profile data.

uint32_t iccProfileSize = 0

The ICC color profile data size in bytes.

GeoTiffField* geoTiffFieldList = nullptr

The GeoTiffField list as an array.

unsigned int geoTiffFieldCount = 0

The count GeoTIFF fields.