class P1::ImageSdk::IiqWriter

Overview

Writes a Iiq file to the disk synchronously with a custom made metadatabase. More…

#include <P1ImageIiqWriter.hpp>

class IiqWriter
{
public:
    // construction

    IiqWriter(
        std::string filename,
        P1::ImageSdk::RawImage& image,
        P1::ImageSdk::MetaDataBase& metadata
        );

    IiqWriter(
        std::string filename,
        P1::ImageSdk::RawImage& image,
        P1::ImageSdk::ConvertConfig& config
        );

    IiqWriter(
        std::wstring filename,
        P1::ImageSdk::RawImage& image,
        P1::ImageSdk::MetaDataBase& metadata
        );

    IiqWriter(
        std::wstring filename,
        P1::ImageSdk::RawImage& image,
        P1::ImageSdk::ConvertConfig& config
        );
};

Detailed Documentation

Writes a Iiq file to the disk synchronously with a custom made metadatabase.

Writes a Iiq file to the disk synchronously including a convertconfig

Parameters:

filename

The path to the output file, it may be a single character or wide character string.

image

The raw image’s in memory representation

metadata

The metadatabase to writen into the image file.

SDKException

The function will throw an exception in case of failure.

filename

The path to the output file, it may be a single character or wide character string.

image

The raw image’s in memory representation

config

Is a convert config to write to iiq file

SDKException

The function will throw an exception in case of failure.