qualityFactor Property

Summary

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

Syntax
TypeScript
JavaScript
Object.defineProperty(PdfDocumentOptions.prototype, 'qualityFactor', 
   get: function(), 
   set: function(value) 
) 
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 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly