DcsEncodeParameter

protocol DcsEncodeParameter

A protocol for image encoding and decoding.

DcsPNGEncodeParameter:

An interface for PNG encoding and decoding.

DcsJPEGEncodeParameter:

An interface for JPEG encoding and decoding.

Property Description
quality:Float Returns or sets the quality of JPEG files.Value ranges from 0.1 to 1.0 and the default value is 0.75.

DcsPDFEncodeParameter:

Description

An interface for PDF encoding and decoding.

Property Description
var compressionType:DcsEnumPDFCompressionType Returns or sets the compression type for PDF files.
author:String Returns or sets the name of the author that creates the PDF document.
creator:String Returns or sets the name of the application that created the original document.
producer:String Returns or sets the name of the application that generated the PDF document.
subject:String Returns or sets the subject of the PDF document.
keywords:String Returns or sets the keywords associated with the PDF document.
title:String Returns or sets the title of the PDF document.
version:String Returns or sets the version number for PDF files.
creationDate:NSDate Returns or sets the date when the PDF document is created.
modifiedDate:NSDate Returns or sets the date when the PDF document is last modified.

enum DcsPDFCompressionTypeEnum

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