ColoredImageCompressionType Enumeration

Summary

Specifies the compression types for colored images.

Syntax
TypeScript
JavaScript
lt.Document.Writer.ColoredImageCompressionType = { 
   flateJpeg: 0, 
   lzwJpeg: 1, 
   flate: 2, 
   lzw: 3, 
   jpeg: 4, 
   flateJpx: 5, 
   lzwJpx: 6, 
   jpx: 7 
} 
lt.Document.Writer.ColoredImageCompressionType = { 
   flateJpeg: 0, 
   lzwJpeg: 1, 
   flate: 2, 
   lzw: 3, 
   jpeg: 4, 
   flateJpx: 5, 
   lzwJpx: 6, 
   jpx: 7 
} 
Members
0 FlateJpeg

(0) Use JPEG compression for images which are more than 8BPP, or for grayscale 8BPP, else use flate compression.

1 LzwJpeg

(1) Use JPEG compression for images which are more than 8BPP, or for grayscale 8BPP, else use LZW compression.

2 Flate

(2) Use flate compression for compressing colored images.

3 Lzw

(3) Use LZW compression for compressing colored images.

4 Jpeg

(0) Use JPEG compression for images which are more than 8BPP, or for grayscale 8BPP, else use flate compression.

5 FlateJpx

(5) Use JPEG 2000 compression for images which are more than 8BPP, or for grayscale 8BPP, else use flate compression. Requires Leadtools.Codecs.J2k, Leadtools.Codecs.Tif and Leadtools.Codecs.Bmp

6 LzwJpx

(6) Use JPEG 2000 compression for images which are more than 8BPP, or for grayscale 8BPP, else use LZW compression. Requires Leadtools.Codecs.J2k, Leadtools.Codecs.Tif and Leadtools.Codecs.Bmp

7 Jpx

(5) Use JPEG 2000 compression for images which are more than 8BPP, or for grayscale 8BPP, else use flate compression. Requires Leadtools.Codecs.J2k, Leadtools.Codecs.Tif and Leadtools.Codecs.Bmp

Remarks

You can use the ColoredImageCompressionType to control the compression type for colored images (i.e. images more than one bits per pixel) in the final document created by the LEADTOOLS Document Writer. The DocumentFormat.Pdf supports selecting compression types in the final document.

Use the PdfDocumentOptions.ColoredImageCompression property to control the compression type for colored images when creating PDF documents.

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.