PDFTool.NET 7.0
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:
Collaboration diagram for PdfTkNet::PtlParamOptimizeImageColor:

Public Types

enum class  COMPRESS_TYPE {
  COMPRESS_SAME = 0 , COMPRESS_AUTO = 1 , COMPRESS_JPEG2K = 2 , COMPRESS_JPEG = 3 ,
  COMPRESS_ZLIB = 4
}
enum class  QUALITY_TYPE {
  QUALITY_MIN = 1 , QUALITY_LOW = 2 , QUALITY_MIDDLE = 3 , QUALITY_HIGH = 4 ,
  QUALITY_MAX = 5
}
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

 PtlParamOptimizeImageColor ()
 コンストラクタ
 PtlParamOptimizeImageColor (PtlParamOptimizeImageColor^ obj)
 コピーコンストラクタ alias copy
 ‾PtlParamOptimizeImageColor ()
 デストラクタ
 !PtlParamOptimizeImageColor ()
 ファイナライザ。
PtlParamOptimizeImageColor operator= (PtlParamOptimizeImageColor^ obj)
 コピーオペレータ alias copy
void setCompress (COMPRESS_TYPE compress)
 圧縮方法を設定。
void setQuality (QUALITY_TYPE quality)
 画像品質を設定。
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: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