rasterImageBitsPerPixel Property

Summary

Bits per pixel to use for the output document when raster conversion is used.

Syntax
TypeScript
JavaScript
Object.defineProperty(DocumentConverterJobData.prototype, 'rasterImageBitsPerPixel', 
   get: function(), 
   set: function(value) 
) 
rasterImageBitsPerPixel: number; 

Property Value

The bits per pixel to use for the output document when raster conversion is used. Default value is 0.

Remarks

RasterImageBitsPerPixel is only used when the job uses raster conversion (the value of RasterImageFormat is not RasterImageFormat.Unknown).

This value is passed as the bitsPerPixel parameter to the LEADTOOLS RasterCodecs Save method used during raster conversion. The default value of 0 means use the best bits per pixel from the input document and the values supported by the output document.

Example

For an example, refer to Convert.

Requirements

Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly