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 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.