PDFTool.NET
6.0
|
画像の最適化を表現したクラスです。
すべての画像最適化クラスのベースクラスです。
More...
#include <NetParamOptimizeImageDownSampling.h>
Public Types | |
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 | |
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... | |
Protected Attributes | |
PdfTk::PtlParamOptimizeImageDownSampling * | m_native |
画像の最適化を表現したクラスです。
すべての画像最適化クラスのベースクラスです。
PdfTkNet::PtlParamOptimizeImageDownSampling::PtlParamOptimizeImageDownSampling | ( | OPTIMIZE_IMAGE_TYPE | type | ) |
PdfTkNet::PtlParamOptimizeImageDownSampling::PtlParamOptimizeImageDownSampling | ( | PtlParamOptimizeImageDownSampling^ | obj | ) |
OPTIMIZE_IMAGE_TYPE PdfTkNet::PtlParamOptimizeImageDownSampling::getType | ( | ) |
PtlParamOptimizeImageDownSampling PdfTkNet::PtlParamOptimizeImageDownSampling::operator= | ( | PtlParamOptimizeImageDownSampling^ | obj | ) |
コピーオペレータ
obj | コピー元オブジェクト。 |
void PdfTkNet::PtlParamOptimizeImageDownSampling::setDownSampling | ( | DOWNSAMPLING_TYPE | type | ) |
ダウンサンプリング方法を設定。
設定しない場合はデフォルト値としてDOWNSAMPLING_BICUBICが使用されます。
type | DOWNSAMPLING_TYPE値 |
PtlException |
void PdfTkNet::PtlParamOptimizeImageDownSampling::setMinDownSamplingRate | ( | float | minRate | ) |
void PdfTkNet::PtlParamOptimizeImageDownSampling::setSourcePPI | ( | int | ppi | ) |
これ以上のPPIならダウンサンプリングを行うPPI値を設定。
設定しない場合はデフォルト値として
カラー画像:225
グレースケール画像:225
モノクロ画像:450
が使用されます。
ppi | PPI値 |
PtlException |
void PdfTkNet::PtlParamOptimizeImageDownSampling::setTargetPPI | ( | int | ppi | ) |
ダウンサンプリング後のPPI値を設定。
設定しない場合はデフォルト値として
カラー画像:150
グレースケール画像:150
モノクロ画像:300
が使用されます。
ppi | PPI値 |
PtlException |