DcsEncodeParameter

protocol DcsEncodeParameter

A protocol for image encoding and decoding.

DcsPNGEncodeParameter: NSObject

A class for PNG encoding and decoding.

DcsJPEGEncodeParameter: NSObject

A class for JPEG encoding and decoding.

Property Description
(nonatomic, assign) CGFloat quality Returns or sets the quality of JPEG files. Value ranges from 0.1 to 1.0 and the default value is 0.75.

DcsPDFEncodeParameter: NSObject

Description

A class for PDF encoding and decoding.

Property Description
(nonatomic,assign) DcsEnumPDFCompressionType Returns or sets the compression type for PDF files.
(nonatomic,strong) NSString * author Returns or sets the name of the author that creates the PDF document.
(nonatomic,strong) NSString * creator Returns or sets the name of the application that created the original document.
(nonatomic,strong) NSString * producer Returns or sets the name of the application that generated the PDF document.
(nonatomic,strong) NSString * subject Returns or sets the subject of the PDF document.
(nonatomic,strong) NSString * keywords Returns or sets the keywords associated with the PDF document.
(nonatomic,strong) NSString * title Returns or sets the title of the PDF document.
(nonatomic,strong) NSString * version Returns or sets the version number for PDF files.
(nonatomic,strong) NSDate * creationDate Returns or sets the date when the PDF document is created.
(nonatomic,strong) NSDate * modifiedDate Returns or sets the date when the PDF document is last modified.

typedef enum DcsEnumPDFCompressionType

DPCTE_AUTO = 0x0001 Auto mode
DPCTE_FAX3 CCITT Group 3 fax encoding
DPCTE_FAX4 CCITT Group 4 fax encoding
DPCTE_LZW Lempel-Ziv & Welch
DPCTE_JPEG JPEG encoding