set_BwConversionMode()
ITiffOptions::set_BwConversionMode(BlackWhiteConversionMode) method
Specifies the algorithm for converting a color image into a black and white image. This option will applied only if ITiffOptions::get_CompressionType() is set to TiffCompressionTypes::CCITT4 or TiffCompressionTypes::CCITT3 Write BlackWhiteConversionMode. Default is BlackWhiteConversionMode::Default.
virtual void Aspose::Slides::Export::ITiffOptions::set_BwConversionMode(BlackWhiteConversionMode value)=0
Remarks
The following example shows how to set conversion algorithm to Dithering.
System::SharedPtr<TiffOptions> tiffOptions = System::MakeObject<TiffOptions>();
tiffOptions->set_CompressionType(TiffCompressionTypes::CCITT4);
tiffOptions->set_BwConversionMode(BlackWhiteConversionMode::Dithering);
System::SharedPtr<Presentation> presentation = System::MakeObject<Presentation>();
presentation->Save(tiffFilePath, SaveFormat::Tiff, tiffOptions);
See Also
- Enum BlackWhiteConversionMode
- Class ITiffOptions
- Namespace Aspose::Slides::Export
- Library Aspose.Slides