BwConversionMode
TiffOptions.BwConversionMode property
Specifies the algorithm for converting a color image into a black and white image. This option will applied only if CompressionType
is set to CCITT4 or CCITT3 Read/write BlackWhiteConversionMode
. Default is Default.
public BlackWhiteConversionMode BwConversionMode { get; set; }
Examples
[C#]
TiffOptions tiffOptions = new TiffOptions();
tiffOptions.CompressionType = TiffCompressionTypes.CCITT4
tiffOptions.BwConversionMode = BlackWhiteConversionMode.Dithering;
using (var presentation = new Presentation())
{
presentation.Save(tiffFilePath, SaveFormat.Tiff, tiffOptions);
}
[Visual Basic]
Dim tiffOptions As New TiffOptions()
tiffOptions.CompressionType = TiffCompressionTypes.CCITT4
tiffOptions.BwConversionMode = BlackWhiteConversionMode.Dithering
Using presentation As New Presentation()
presentation.Save(tiffFilePath, SaveFormat.Tiff, tiffOptions)
End Using
See Also
- enum BlackWhiteConversionMode
- class TiffOptions
- namespace Aspose.Slides.Export
- assembly Aspose.Slides