dcpdf_SetImageBitcount
Sets the bit count, bits per pixel, for images in the PDF document that is generated by the dcpdf_MakePDFDoc action.
Member of namespace
dcpdfSyntax
bool dcpdf_SetImageBitcount (strParam)
Parameters
Numeric value of the BitCount of any image in a PDF document. The action's acceptable values are:- 1 for Black and White images (a typical value).
- 8 for Grayscale images.
- 24 for Color images.
Returns
False, if the parameter is not Numeric. Otherwise, True.Level
Batch or Document level.Details
Sets the BitCount of any image identified in a PDF file by an action such as CreateTiffFromPDF. The value of the parameter for the action typically reflects the nature of the images in the PDF file. The default value is 1 (Black and white images).Attention: The BitCount is the standard number of
bits per pixel throughout an image.
- Example:
dcpdf_SetImageBitCount("1") black and white images. dcpdf_SetImageBitCount("8") grayscale images. dcpdf_SetImageBitCount("24") color images.