rasterImageBitsPerPixel Property

Summary

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

Syntax

JavaScript Syntax
Object.defineProperty(DocumentConverterJobData.prototype, 'rasterImageBitsPerPixel', 
	get: function(), 
	set: function(value) 
) 
TypeScript Syntax
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents Assembly