class P1::ImageSdk::TiffWriter
Overview
Writes a Tiff file to the disk synchronously. More…
#include <P1ImageTiffWriter.hpp> class TiffWriter { public: // construction TiffWriter( std::string filename, P1::ImageSdk::BitmapImage& bitmap, P1::ImageSdk::RawImage& image, TiffConfig& config ); TiffWriter( std::wstring filename, P1::ImageSdk::BitmapImage& bitmap, P1::ImageSdk::RawImage& image, TiffConfig& config ); TiffWriter( std::string filename, P1::ImageSdk::BitmapImage& bitmap, P1::ImageSdk::RawImage& image, P1::ImageSdkC::P1MetaDataBase& metadata, TiffConfig& config ); TiffWriter( std::wstring filename, P1::ImageSdk::BitmapImage& bitmap, P1::ImageSdk::RawImage& image, P1::ImageSdkC::P1MetaDataBase& metadata, TiffConfig& config ); };
Detailed Documentation
Writes a Tiff file to the disk synchronously.
Parameters:
filename |
The path to the output file, it may be a single character or wide character string. |
bitmap |
The rendered bitmap |
image |
The raw image’s in memory representation |
metadata |
The metadatabase to writen into the image file. |
config |
Describes the TIFF metadata/preview |
SDKException |
The function will throw an exception in case of failure. |