←Select platform

ColoredImageCompressionType Enumeration

Summary

Specifies the compression types for colored images.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
[DataContractAttribute()] 
[SerializableAttribute()] 
public enum ColoredImageCompressionType 
<DataContractAttribute()> 
<SerializableAttribute()> 
Public Enum ColoredImageCompressionType 
[DataContractAttribute()] 
[SerializableAttribute()] 
public enum ColoredImageCompressionType 
typedef NS_ENUM(NSInteger, LTColoredImageCompressionType)
public enum ColoredImageCompressionType
Leadtools.Forms.DocumentWriters.ColoredImageCompressionType = function() { }; 
Leadtools.Forms.DocumentWriters.ColoredImageCompressionType.prototype = { 
 
  FlateJpeg = 0, 
    LzwJpeg = 1, 
    Flate = 2, 
    Lzw = 3, 
    Jpeg = 4, 
    FlateJpx = 5, 
    LzwJpx = 6, 
    Jpx = 7, 
     
 }; 
[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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Forms.DocumentWriters Assembly
Click or drag to resize