get_BwConversionMode()
TiffOptions::get_BwConversionMode() 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 Read BlackWhiteConversionMode. Default is BlackWhiteConversionMode::Default.
BlackWhiteConversionMode Aspose::Slides::Export::TiffOptions::get_BwConversionMode() override
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 TiffOptions
- Namespace Aspose::Slides::Export
- Library Aspose.Slides