qualityFactor Property

Summary

Degree of loss in the compression process. This applies to JPEG compression only.

Syntax

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

Property Value

A QualityFactor determines the degree of loss in the compression process. The default value is 80.

Remarks

QualityFactor is a number that determines the degree of loss in the compression process.

This applies to JPEG compression only.

  • 0 - Lossless

  • 2 - 255 Lossy (2 - Best Quality, 255 - Best Compression)

Requirements

Target Platforms

Help Version 19.0.2017.10.18
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents Assembly