←Select platform

ColoredImageCompressionType Enumeration

Summary
Specifies the compression types for colored images.
Syntax
C#
VB
Objective-C
C++
Java
[SerializableAttribute()] 
[DataContractAttribute()] 
public enum ColoredImageCompressionType 
<DataContractAttribute()> 
<SerializableAttribute()> 
Public Enum ColoredImageCompressionType  
typedef NS_ENUM(NSInteger, LTColoredImageCompressionType) 
public enum ColoredImageCompressionType 
[DataContractAttribute()] 
[SerializableAttribute()] 
public enum class ColoredImageCompressionType   
Members
ValueMemberDescription
0FlateJpeg

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

1LzwJpeg

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

2Flate

Use flate compression for compressing colored images.

3Lzw

Use LZW compression for compressing colored images.

4Jpeg

Use JPEG compression for compressing colored images.

5FlateJpx 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
6LzwJpx 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
7Jpx Use JPEG 2000 compression for compressing colored images. 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.

Example

For an example, refer to PdfDocumentOptions.

Requirements

Target Platforms

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

Leadtools.Document.Writer Assembly

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