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
)
Public Shared Function MakeMonochromeImage (
inputImage As Image,
ditheringType As StiMonochromeDitheringType,
diffusionPower As Integer
) As Image
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:
ImageMonochrome image
See Also