.. index:: pair: struct; P1::ImageSdk::ImageExportCommonConfig .. _doxid-struct_p1_1_1_image_sdk_1_1_image_export_common_config: struct P1::ImageSdk::ImageExportCommonConfig ============================================ .. toctree:: :hidden: Overview ~~~~~~~~ Generic export configuration. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct ImageExportCommonConfig { // fields bool :ref:`includeExif` = true; bool :ref:`includeGps` = true; bool :ref:`includeXmp` = true; bool :ref:`includeIptc` = true; bool :ref:`generateNewPreview` = false; bool :ref:`includePreview` = true; bool :ref:`includeMetricCalibration` = true; :ref:`DistortionParamType` :ref:`includeDistortionParameters` = :ref:`DistortionParamType::none`; :ref:`BitDepth` :ref:`outputBitDepth` = :ref:`BitDepth::Unknown`; double :target:`overWriteOutputFocalLength` = 0.0; int :ref:`xmpSize` = 16384; char* :ref:`iccProfileData` = nullptr; uint32_t :ref:`iccProfileSize` = 0; :ref:`ColorSpace` :target:`outputColorSpace` = :ref:`ColorSpace::sRGB`; :ref:`GeoTiffField`* :ref:`geoTiffFieldList` = nullptr; unsigned int :ref:`geoTiffFieldCount` = 0; }; .. _details-struct_p1_1_1_image_sdk_1_1_image_export_common_config: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Generic export configuration. Fields ------ .. index:: pair: variable; includeExif .. _doxid-struct_p1_1_1_image_sdk_1_1_image_export_common_config_1aa3da94ff0d002f741d66d8beb448a882: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool includeExif = true If the export should copy the EXIF tags (except GPS) from the source image. .. index:: pair: variable; includeGps .. _doxid-struct_p1_1_1_image_sdk_1_1_image_export_common_config_1a5d215ad36f6802d60cdfce9801af3999: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool includeGps = true If the export should copy the GPS tags from the source image. .. index:: pair: variable; includeXmp .. _doxid-struct_p1_1_1_image_sdk_1_1_image_export_common_config_1a6d9d9b3d153d63552164bcd3c9ba730c: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool includeXmp = true If the export should copy the XMP block from the source image. .. index:: pair: variable; includeIptc .. _doxid-struct_p1_1_1_image_sdk_1_1_image_export_common_config_1a2452979caf2c0a11e58addd9671bbd82: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool includeIptc = true If the exported image should include a minumum IPTC block (date and time) .. index:: pair: variable; generateNewPreview .. _doxid-struct_p1_1_1_image_sdk_1_1_image_export_common_config_1a90110011662f2b938f01825e34c60ebd: .. ref-code-block:: cpp :class: doxyrest-title-code-block 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. .. index:: pair: variable; includePreview .. _doxid-struct_p1_1_1_image_sdk_1_1_image_export_common_config_1a181a922d6f26f918d1e21a47955786a0: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool includePreview = true If thex export should include a preview. .. index:: pair: variable; includeMetricCalibration .. _doxid-struct_p1_1_1_image_sdk_1_1_image_export_common_config_1a70ce8f78786a11d00c9ec0f1ca839688: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool includeMetricCalibration = true include metric calibration if present .. index:: pair: variable; includeDistortionParameters .. _doxid-struct_p1_1_1_image_sdk_1_1_image_export_common_config_1a7fc350894a549c6326fee163f1214c9c: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`DistortionParamType` includeDistortionParameters = :ref:`DistortionParamType::none` include distortion parameters if present .. index:: pair: variable; outputBitDepth .. _doxid-struct_p1_1_1_image_sdk_1_1_image_export_common_config_1abdd348b71aa88cd670462f0d1f616ac4: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`BitDepth` outputBitDepth = :ref:`BitDepth::Unknown` If the export should convert bitmap image to a different bit depth. .. index:: pair: variable; xmpSize .. _doxid-struct_p1_1_1_image_sdk_1_1_image_export_common_config_1a7444dbe3759e69fa883c0a0f0157e945: .. ref-code-block:: cpp :class: doxyrest-title-code-block int xmpSize = 16384 The byte size of the XMP block. .. index:: pair: variable; iccProfileData .. _doxid-struct_p1_1_1_image_sdk_1_1_image_export_common_config_1a4354ca7f8568787bb779a1373f9edf36: .. ref-code-block:: cpp :class: doxyrest-title-code-block char* iccProfileData = nullptr The ICC color profile data. .. index:: pair: variable; iccProfileSize .. _doxid-struct_p1_1_1_image_sdk_1_1_image_export_common_config_1ad07bec70c0306505961b0622d686be14: .. ref-code-block:: cpp :class: doxyrest-title-code-block uint32_t iccProfileSize = 0 The ICC color profile data size in bytes. .. index:: pair: variable; geoTiffFieldList .. _doxid-struct_p1_1_1_image_sdk_1_1_image_export_common_config_1a184581198b643b630d2cda9488c0c48c: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`GeoTiffField`* geoTiffFieldList = nullptr The :ref:`GeoTiffField ` list as an array. .. index:: pair: variable; geoTiffFieldCount .. _doxid-struct_p1_1_1_image_sdk_1_1_image_export_common_config_1a22f8cf68b3742f9724ca625f3914d6e3: .. ref-code-block:: cpp :class: doxyrest-title-code-block unsigned int geoTiffFieldCount = 0 The count GeoTIFF fields.