Click or drag to resize

StiTiffHelperMakeMonochromeImage Method

Make monochrome image (1 bit per plane) from normal 32bit image

Namespace:  Stimulsoft.Report.Export
Assembly:  Stimulsoft.Report (in Stimulsoft.Report.dll) Version: 2019.3.1.0
Syntax
public static Image MakeMonochromeImage(
	Image inputImage,
	StiMonochromeDitheringType ditheringType,
	int diffusionPower
)

Parameters

inputImage
Type: System.DrawingImage
Input image 32bit
ditheringType
Type: Stimulsoft.Report.ExportStiMonochromeDitheringType
Dithering type (None, FloydSteinberg or Ordered)
diffusionPower
Type: SystemInt32
Power of diffusion, from 1 to 255; default value is 128

Return Value

Type: Image
Monochrome image
See Also