PDFTool.NET  6.0
Public Types | Public Member Functions | List of all members
PdfTkNet::PtlParamOptimizeImageColor Class Reference

カラー画像の最適化を表現したクラスです。
デフォルト値
SourcePPI:225
TargetPPI:150
DownSampling:DOWNSAMPLING_BICUBIC
Compress:COMPRESS_AUTO
Quality:QUALITY_MIDDLE More...

#include <NetParamOptimizeImageColor.h>

Inheritance diagram for PdfTkNet::PtlParamOptimizeImageColor:
Inheritance graph
[legend]
Collaboration diagram for PdfTkNet::PtlParamOptimizeImageColor:
Collaboration graph
[legend]

Public Types

enum  COMPRESS_TYPE {
  COMPRESS_SAME = 0, COMPRESS_AUTO = 1, COMPRESS_JPEG2K = 2, COMPRESS_JPEG = 3,
  COMPRESS_ZLIB = 4
}
 
enum  QUALITY_TYPE {
  QUALITY_MIN = 1, QUALITY_LOW = 2, QUALITY_MIDDLE = 3, QUALITY_HIGH = 4,
  QUALITY_MAX = 5
}
 
- Public Types inherited from PdfTkNet::PtlParamOptimizeImageDownSampling
enum  DOWNSAMPLING_TYPE { DOWNSAMPLING_TYPE::DOWNSAMPLING_NONE = 0, DOWNSAMPLING_TYPE::DOWNSAMPLING_AVERAGE = 1, DOWNSAMPLING_TYPE::DOWNSAMPLING_SUBSAMPLING = 2, DOWNSAMPLING_TYPE::DOWNSAMPLING_BICUBIC = 3 }
 ダウンサンプのタイプ More...
 
enum  OPTIMIZE_IMAGE_TYPE { OPTIMIZE_IMAGE_TYPE::OPTIMIZE_IMAGE_COLOR = 1, OPTIMIZE_IMAGE_TYPE::OPTIMIZE_IMAGE_GRAYSCALE = 2, OPTIMIZE_IMAGE_TYPE::OPTIMIZE_IMAGE_MONO = 3 }
 画像最適化のタイプ More...
 

Public Member Functions

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

Additional Inherited Members

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

Detailed Description

カラー画像の最適化を表現したクラスです。
デフォルト値
SourcePPI:225
TargetPPI:150
DownSampling:DOWNSAMPLING_BICUBIC
Compress:COMPRESS_AUTO
Quality:QUALITY_MIDDLE

Constructor & Destructor Documentation

◆ PtlParamOptimizeImageColor() [1/2]

PdfTkNet::PtlParamOptimizeImageColor::PtlParamOptimizeImageColor ( )

コンストラクタ

Exceptions
PtlException

◆ PtlParamOptimizeImageColor() [2/2]

PdfTkNet::PtlParamOptimizeImageColor::PtlParamOptimizeImageColor ( PtlParamOptimizeImageColor obj)

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

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

Member Function Documentation

◆ operator=()

PtlParamOptimizeImageColor PdfTkNet::PtlParamOptimizeImageColor::operator= ( PtlParamOptimizeImageColor obj)

コピーオペレータ alias copy

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

◆ setCompress()

void PdfTkNet::PtlParamOptimizeImageColor::setCompress ( COMPRESS_TYPE  compress)

圧縮方法を設定。

設定しない場合はデフォルト値としてCOMPRESS_AUTOが使用されます。

Parameters
compressCOMPRESS_TYPE値
Exceptions
PtlException

◆ setQuality()

void PdfTkNet::PtlParamOptimizeImageColor::setQuality ( QUALITY_TYPE  quality)

画像品質を設定。

設定しない場合はデフォルト値としてQUALITY_MIDDLEが使用されます。

Parameters
qualityQUALITY_TYPE値
Exceptions
PtlException