PDFTool.NET 7.0
PdfTkNet::PtlParamOptimizeImageMono Class Reference

モノクロ画像の最適化を表現したクラスです。
デフォルト値
SourcePPI:450
TargetPPI:300
DownSampling:DOWNSAMPLING_BICUBIC
Compress:COMPRESS_AUTO
Quality:80 More...

#include <NetParamOptimizeImageMono.h>

Inheritance diagram for PdfTkNet::PtlParamOptimizeImageMono:
Collaboration diagram for PdfTkNet::PtlParamOptimizeImageMono:

Public Types

enum class  COMPRESS_TYPE {
  COMPRESS_SAME , COMPRESS_AUTO , COMPRESS_JBIG2 , COMPRESS_CCITT3 ,
  COMPRESS_CCITT4 , COMPRESS_ZLIB , COMPRESS_RUNLENGTH
}
Public Types inherited from PdfTkNet::PtlParamOptimizeImageDownSampling
enum class  DOWNSAMPLING_TYPE { DOWNSAMPLING_NONE = 0 , DOWNSAMPLING_AVERAGE = 1 , DOWNSAMPLING_SUBSAMPLING = 2 , DOWNSAMPLING_BICUBIC = 3 }
 ダウンサンプのタイプ More...
enum class  OPTIMIZE_IMAGE_TYPE { OPTIMIZE_IMAGE_COLOR = 1 , OPTIMIZE_IMAGE_GRAYSCALE = 2 , OPTIMIZE_IMAGE_MONO = 3 }
 画像最適化のタイプ More...

Public Member Functions

 PtlParamOptimizeImageMono ()
 コンストラクタ
 PtlParamOptimizeImageMono (PtlParamOptimizeImageMono^ obj)
 コピーコンストラクタ alias copy
 ‾PtlParamOptimizeImageMono ()
 デストラクタ
 !PtlParamOptimizeImageMono ()
 ファイナライザ。
PtlParamOptimizeImageMono operator= (PtlParamOptimizeImageMono^ obj)
 コピーオペレータ alias copy
void setCompress (COMPRESS_TYPE type)
 圧縮方法を設定。
Public Member Functions inherited from PdfTkNet::PtlParamOptimizeImageDownSampling
PdfTk::PtlParamOptimizeImageDownSampling * getNative ()
 PtlParamOptimizeImageDownSampling (OPTIMIZE_IMAGE_TYPE type)
 コンストラクタ
 PtlParamOptimizeImageDownSampling (PtlParamOptimizeImageDownSampling^ obj)
 コピーコンストラクタ
virtual ‾PtlParamOptimizeImageDownSampling ()
 デストラクタ
 !PtlParamOptimizeImageDownSampling ()
 ファイナライザ。
PtlParamOptimizeImageDownSampling operator= (PtlParamOptimizeImageDownSampling^ obj)
 コピーオペレータ
OPTIMIZE_IMAGE_TYPE getType ()
 画像最適化のタイプを取得。
void setSourcePPI (int ppi)
 これ以上のPPIならダウンサンプリングを行うPPI値を設定。
void setTargetPPI (int ppi)
 ダウンサンプリング後のPPI値を設定。
void setDownSampling (DOWNSAMPLING_TYPE type)
 ダウンサンプリング方法を設定。
void setMinDownSamplingRate (float minRate)
 ダウンサンプリング率の下限値を設定。

Additional Inherited Members

Protected Attributes inherited from PdfTkNet::PtlParamOptimizeImageDownSampling
PdfTk::PtlParamOptimizeImageDownSampling * m_native

Detailed Description

モノクロ画像の最適化を表現したクラスです。
デフォルト値
SourcePPI:450
TargetPPI:300
DownSampling:DOWNSAMPLING_BICUBIC
Compress:COMPRESS_AUTO
Quality:80

Constructor & Destructor Documentation

◆ PtlParamOptimizeImageMono() [1/2]

PdfTkNet::PtlParamOptimizeImageMono::PtlParamOptimizeImageMono ( )

コンストラクタ

Exceptions
PtlException

◆ PtlParamOptimizeImageMono() [2/2]

PdfTkNet::PtlParamOptimizeImageMono::PtlParamOptimizeImageMono ( PtlParamOptimizeImageMono^ obj)

コピーコンストラクタ alias copy

Parameters
objコピー元オブジェクト。
Exceptions
PtlException

Member Function Documentation

◆ operator=()

PtlParamOptimizeImageMono PdfTkNet::PtlParamOptimizeImageMono::operator= ( PtlParamOptimizeImageMono^ obj)

コピーオペレータ alias copy

Parameters
objコピー元オブジェクト。

◆ setCompress()

void PdfTkNet::PtlParamOptimizeImageMono::setCompress ( COMPRESS_TYPE type)

圧縮方法を設定。

設定しない場合はデフォルト値としてCOMPRESS_AUTOが使用されます。
COMPRESS_SAMEを設定した場合、対象のFilterは下記となります。
FlateDecode
LZWDecode
CCITTFaxDecode
RunLengthDecode

Parameters
typeCOMPRESS_TYPE値
Exceptions
PtlException