MonoImageDepth
monoImageDepth
Method Name
Argument Name
Argument Type
monoImageDepth
depth
Mostafaznv\PdfOptimizer\Enums\ImageDepth
Specifies the number of bits per sample in a downsampled image. Allowed values are:
The number of bits per sample: 1 , 2 , 4 , or 8
When the value is greater than 1, monochrome images are converted to grayscale images.
-1 , which forces the downsampled image to have the same number of bits per sample as the original image. (For monochrome images, this is the same as a value of 1.)
MonoImageDepth is not used unless DownsampleMonoImages and AntiAliasMonoImages are true.
Last updated