StiTiffHelper Class

Namespace: Stimulsoft.Report.Export

Methods

Method Returns Description
MakeMonochromeImage static Image Make monochrome image (1 bit per plane) from normal 32bit image

Method Details

MakeMonochromeImage static

MakeMonochromeImage(inputImage: Image, ditheringType: StiMonochromeDitheringType, diffusionPower: int): Image

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

Parameters

  • inputImage (Image) — Input image 32bit
  • ditheringType (StiMonochromeDitheringType) — Dithering type (None, FloydSteinberg or Ordered)
  • diffusionPower (int) — Power of diffusion, from 1 to 255; default value is 128

Returns Image — Monochrome image