GrayImageDepth

grayImageDepth

Method Name
Argument Name
Argument Type

grayImageDepth

depth

Mostafaznv\PdfOptimizer\Enums\ImageDepth

Specifies the number of bits per sample in the image. The following values are valid:

  • The number of bits per sample: 1 , 2 , 4 , or 8.

  • -1 , which forces the downsampled image to have the same number of bits per sample as the original image

Last updated