jp.co.antenna.pdfdrv
クラス PtlParamCompressSettings

java.lang.Object
  上位を拡張 jp.co.antenna.pdfdrv.PtlParamCompressSettings

public class PtlParamCompressSettings
extends java.lang.Object

出力設定ファイルの「圧縮」に対する操作を行うクラスです。 PtlParamDriverSettings で使用します。


フィールドの概要
static int COMPRESSJPEG_JPEG
          圧縮方法(カラー、グレースケール画像):JPEG。
static int COMPRESSJPEG_JPEG2000
          圧縮方法(カラー、グレースケール画像):JPEG2000。
static int COMPRESSJPEG_JPEG2000AUTO
          圧縮方法(カラー、グレースケール画像):自動(JPEG2000)。
static int COMPRESSJPEG_JPEGAUTO
          圧縮方法(カラー、グレースケール画像):自動(JPEG)。
static int COMPRESSJPEG_ZLIB
          圧縮方法(カラー、グレースケール画像):ZLIP(ZIP)。
static int COMPRESSMETHOD_AVERAGE
          ダウンサンプリング方法:バイリニア法。
static int COMPRESSMETHOD_BICUBIC
          ダウンサンプリング方法:バイキュービック法。
static int COMPRESSMETHOD_NONE
          ダウンサンプリング方法:なし。
static int COMPRESSMETHOD_SUBSAMPLING
          ダウンサンプリング方法:ニアレストナイバー法。
static int COMPRESSQUALITY_HIGH
          JPEG,JPEG2000画質:High。
static int COMPRESSQUALITY_HIGHEST
          JPEG,JPEG2000画質:Highest。
static int COMPRESSQUALITY_LOW
          JPEG,JPEG2000画質:Low。
static int COMPRESSQUALITY_LOWEST
          JPEG,JPEG2000画質:Lowest。
static int COMPRESSQUALITY_MIDDLE
          JPEG,JPEG2000画質:Middle。
static int COMPRESSTYPE_CCITTGROUP3
          圧縮方法(白黒画像):CCITT Group 3。
static int COMPRESSTYPE_CCITTGROUP4
          圧縮方法(白黒画像):CCITT Group 4。
static int COMPRESSTYPE_NONE
          圧縮方法(白黒画像):なし。
static int COMPRESSTYPE_RUNLENGTH
          圧縮方法(白黒画像):Run Length。
static int COMPRESSTYPE_ZLIB
          圧縮方法(白黒画像):ZLIB(ZIP)。
 
コンストラクタの概要
PtlParamCompressSettings()
           
PtlParamCompressSettings(PtlParamCompressSettings obj)
           
 
メソッドの概要
 boolean getASCIIFormat()
          ASCIIフォーマットで出力の取得。
 int getColorImageAboveValue()
          カラー画像:元画像の解像度上限の取得。
 int getColorImageCompression()
          カラー画像:圧縮方法の取得。
 int getColorImageMethod()
          カラー画像:ダウンサンプリング方法の取得。
 int getColorImageQuality()
          カラー画像:JPEG/JPEG2000画質の取得。
 int getColorImageToValue()
          カラー画像:縮小する画像の解像度の取得。
 boolean getCompressObjectLevel()
          オブジェクトレベルの圧縮の取得。
 boolean getCompressTextAndLineArt()
          テキストとラインアートの圧縮の取得。
 int getGlayScaleImageAboveValue()
          グレースケール画像:元画像の解像度上限の取得。
 int getGlayScaleImageCompression()
          グレースケール画像:圧縮方法の取得。
 int getGlayScaleImageMethod()
          グレースケール画像:ダウンサンプリング方法の取得。
 int getGlayScaleImageQuality()
          グレースケール画像:JPEG/JPEG2000画質の取得。
 int getGlayScaleImageToValue()
          グレースケール画像:縮小する画像の解像度の取得。
 int getMonochromeImageAboveValue()
          白黒画像:元画像の解像度上限の取得。
 int getMonochromeImageCompression()
          白黒画像:圧縮方法の取得。
 int getMonochromeImageMethod()
          白黒画像:ダウンサンプリング方法の取得。
 int getMonochromeImageToValue()
          白黒画像:縮小する画像の解像度の取得。
 void setASCIIFormat(boolean flag)
          ASCIIフォーマットで出力の指定。
 void setColorImageAboveValue(int value)
          カラー画像:元画像の解像度上限の指定。
 void setColorImageCompression(int compression)
          カラー画像:圧縮方法の指定。
 void setColorImageMethod(int method)
          カラー画像:ダウンサンプリング方法の指定。
 void setColorImageQuality(int quality)
          カラー画像:JPEG/JPEG2000画質の指定。
 void setColorImageToValue(int value)
          カラー画像:縮小する画像の解像度の指定。
 void setCompressObjectLevel(boolean flag)
          オブジェクトレベルの圧縮の指定。
 void setCompressTextAndLineArt(boolean flag)
          テキストとラインアートの圧縮の指定。
 void setGlayScaleImageAboveValue(int value)
          グレースケール画像:元画像の解像度上限の指定。
 void setGlayScaleImageCompression(int compression)
          グレースケール画像:圧縮方法の指定。
 void setGlayScaleImageMethod(int method)
          グレースケール画像:ダウンサンプリング方法の指定。
 void setGlayScaleImageQuality(int quality)
          グレースケール画像:JPEG/JPEG2000画質の指定。
 void setGlayScaleImageToValue(int value)
          グレースケール画像:縮小する画像の解像度の指定。
 void setMonochromeImageAboveValue(int value)
          白黒画像:元画像の解像度上限の指定。
 void setMonochromeImageCompression(int compression)
          白黒画像:圧縮方法の指定。
 void setMonochromeImageMethod(int method)
          白黒画像:ダウンサンプリング方法の指定。
 void setMonochromeImageToValue(int value)
          白黒画像:縮小する画像の解像度の指定。
 void terminate()
           
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

COMPRESSMETHOD_NONE

public static final int COMPRESSMETHOD_NONE
ダウンサンプリング方法:なし。

関連項目:
定数フィールド値

COMPRESSMETHOD_AVERAGE

public static final int COMPRESSMETHOD_AVERAGE
ダウンサンプリング方法:バイリニア法。

関連項目:
定数フィールド値

COMPRESSMETHOD_BICUBIC

public static final int COMPRESSMETHOD_BICUBIC
ダウンサンプリング方法:バイキュービック法。

関連項目:
定数フィールド値

COMPRESSMETHOD_SUBSAMPLING

public static final int COMPRESSMETHOD_SUBSAMPLING
ダウンサンプリング方法:ニアレストナイバー法。

関連項目:
定数フィールド値

COMPRESSJPEG_JPEGAUTO

public static final int COMPRESSJPEG_JPEGAUTO
圧縮方法(カラー、グレースケール画像):自動(JPEG)。

関連項目:
定数フィールド値

COMPRESSJPEG_JPEG

public static final int COMPRESSJPEG_JPEG
圧縮方法(カラー、グレースケール画像):JPEG。

関連項目:
定数フィールド値

COMPRESSJPEG_ZLIB

public static final int COMPRESSJPEG_ZLIB
圧縮方法(カラー、グレースケール画像):ZLIP(ZIP)。

関連項目:
定数フィールド値

COMPRESSJPEG_JPEG2000

public static final int COMPRESSJPEG_JPEG2000
圧縮方法(カラー、グレースケール画像):JPEG2000。

関連項目:
定数フィールド値

COMPRESSJPEG_JPEG2000AUTO

public static final int COMPRESSJPEG_JPEG2000AUTO
圧縮方法(カラー、グレースケール画像):自動(JPEG2000)。

関連項目:
定数フィールド値

COMPRESSTYPE_NONE

public static final int COMPRESSTYPE_NONE
圧縮方法(白黒画像):なし。

関連項目:
定数フィールド値

COMPRESSTYPE_CCITTGROUP3

public static final int COMPRESSTYPE_CCITTGROUP3
圧縮方法(白黒画像):CCITT Group 3。

関連項目:
定数フィールド値

COMPRESSTYPE_CCITTGROUP4

public static final int COMPRESSTYPE_CCITTGROUP4
圧縮方法(白黒画像):CCITT Group 4。

関連項目:
定数フィールド値

COMPRESSTYPE_RUNLENGTH

public static final int COMPRESSTYPE_RUNLENGTH
圧縮方法(白黒画像):Run Length。

関連項目:
定数フィールド値

COMPRESSTYPE_ZLIB

public static final int COMPRESSTYPE_ZLIB
圧縮方法(白黒画像):ZLIB(ZIP)。

関連項目:
定数フィールド値

COMPRESSQUALITY_LOWEST

public static final int COMPRESSQUALITY_LOWEST
JPEG,JPEG2000画質:Lowest。

関連項目:
定数フィールド値

COMPRESSQUALITY_LOW

public static final int COMPRESSQUALITY_LOW
JPEG,JPEG2000画質:Low。

関連項目:
定数フィールド値

COMPRESSQUALITY_MIDDLE

public static final int COMPRESSQUALITY_MIDDLE
JPEG,JPEG2000画質:Middle。

関連項目:
定数フィールド値

COMPRESSQUALITY_HIGH

public static final int COMPRESSQUALITY_HIGH
JPEG,JPEG2000画質:High。

関連項目:
定数フィールド値

COMPRESSQUALITY_HIGHEST

public static final int COMPRESSQUALITY_HIGHEST
JPEG,JPEG2000画質:Highest。

関連項目:
定数フィールド値
コンストラクタの詳細

PtlParamCompressSettings

public PtlParamCompressSettings()
                         throws PtlDrvException
例外:
PtlDrvException

PtlParamCompressSettings

public PtlParamCompressSettings(PtlParamCompressSettings obj)
                         throws PtlDrvException
例外:
PtlDrvException
メソッドの詳細

terminate

public void terminate()

getColorImageMethod

public int getColorImageMethod()
                        throws PtlDrvException
カラー画像:ダウンサンプリング方法の取得。

戻り値:
ダウンサンプリング方法。
例外:
PtlDrvException

setColorImageMethod

public void setColorImageMethod(int method)
                         throws PtlDrvException
カラー画像:ダウンサンプリング方法の指定。

パラメータ:
method - ダウンサンプリング方法。
例外:
PtlDrvException

getColorImageAboveValue

public int getColorImageAboveValue()
                            throws PtlDrvException
カラー画像:元画像の解像度上限の取得。

戻り値:
元画像の解像度上限。
例外:
PtlDrvException

setColorImageAboveValue

public void setColorImageAboveValue(int value)
                             throws PtlDrvException
カラー画像:元画像の解像度上限の指定。

パラメータ:
value - 元画像の解像度上限[10〜24000dpi]。
例外:
PtlDrvException

getColorImageToValue

public int getColorImageToValue()
                         throws PtlDrvException
カラー画像:縮小する画像の解像度の取得。

戻り値:
縮小する画像の解像度。
例外:
PtlDrvException

setColorImageToValue

public void setColorImageToValue(int value)
                          throws PtlDrvException
カラー画像:縮小する画像の解像度の指定。

パラメータ:
value - 縮小する画像の解像度[10dpi〜元画像の解像度上限]。
例外:
PtlDrvException

getColorImageCompression

public int getColorImageCompression()
                             throws PtlDrvException
カラー画像:圧縮方法の取得。

戻り値:
圧縮方法。
例外:
PtlDrvException

setColorImageCompression

public void setColorImageCompression(int compression)
                              throws PtlDrvException
カラー画像:圧縮方法の指定。

パラメータ:
compression - 圧縮方法。
例外:
PtlDrvException

getColorImageQuality

public int getColorImageQuality()
                         throws PtlDrvException
カラー画像:JPEG/JPEG2000画質の取得。

戻り値:
JPEG/JPEG2000画質。
例外:
PtlDrvException

setColorImageQuality

public void setColorImageQuality(int quality)
                          throws PtlDrvException
カラー画像:JPEG/JPEG2000画質の指定。

パラメータ:
quality - JPEG/JPEG2000画質。
例外:
PtlDrvException

getGlayScaleImageMethod

public int getGlayScaleImageMethod()
                            throws PtlDrvException
グレースケール画像:ダウンサンプリング方法の取得。

戻り値:
ダウンサンプリング方法。
例外:
PtlDrvException

setGlayScaleImageMethod

public void setGlayScaleImageMethod(int method)
                             throws PtlDrvException
グレースケール画像:ダウンサンプリング方法の指定。

パラメータ:
method - ダウンサンプリング方法。
例外:
PtlDrvException

getGlayScaleImageAboveValue

public int getGlayScaleImageAboveValue()
                                throws PtlDrvException
グレースケール画像:元画像の解像度上限の取得。

戻り値:
元画像の解像度上限。
例外:
PtlDrvException

setGlayScaleImageAboveValue

public void setGlayScaleImageAboveValue(int value)
                                 throws PtlDrvException
グレースケール画像:元画像の解像度上限の指定。

パラメータ:
value - 元画像の解像度上限[10〜24000dpi]。
例外:
PtlDrvException

getGlayScaleImageToValue

public int getGlayScaleImageToValue()
                             throws PtlDrvException
グレースケール画像:縮小する画像の解像度の取得。

戻り値:
縮小する画像の解像度。
例外:
PtlDrvException

setGlayScaleImageToValue

public void setGlayScaleImageToValue(int value)
                              throws PtlDrvException
グレースケール画像:縮小する画像の解像度の指定。

パラメータ:
value - 縮小する画像の解像度[10dpi〜元画像の解像度上限]。
例外:
PtlDrvException

getGlayScaleImageCompression

public int getGlayScaleImageCompression()
                                 throws PtlDrvException
グレースケール画像:圧縮方法の取得。

戻り値:
圧縮方法。
例外:
PtlDrvException

setGlayScaleImageCompression

public void setGlayScaleImageCompression(int compression)
                                  throws PtlDrvException
グレースケール画像:圧縮方法の指定。

パラメータ:
compression - 圧縮方法。
例外:
PtlDrvException

getGlayScaleImageQuality

public int getGlayScaleImageQuality()
                             throws PtlDrvException
グレースケール画像:JPEG/JPEG2000画質の取得。

戻り値:
JPEG/JPEG2000画質。
例外:
PtlDrvException

setGlayScaleImageQuality

public void setGlayScaleImageQuality(int quality)
                              throws PtlDrvException
グレースケール画像:JPEG/JPEG2000画質の指定。

パラメータ:
quality - JPEG/JPEG2000画質。
例外:
PtlDrvException

getMonochromeImageMethod

public int getMonochromeImageMethod()
                             throws PtlDrvException
白黒画像:ダウンサンプリング方法の取得。

戻り値:
ダウンサンプリング方法。
例外:
PtlDrvException

setMonochromeImageMethod

public void setMonochromeImageMethod(int method)
                              throws PtlDrvException
白黒画像:ダウンサンプリング方法の指定。

パラメータ:
method - ダウンサンプリング方法。
例外:
PtlDrvException

getMonochromeImageAboveValue

public int getMonochromeImageAboveValue()
                                 throws PtlDrvException
白黒画像:元画像の解像度上限の取得。

戻り値:
元画像の解像度上限。
例外:
PtlDrvException

setMonochromeImageAboveValue

public void setMonochromeImageAboveValue(int value)
                                  throws PtlDrvException
白黒画像:元画像の解像度上限の指定。

パラメータ:
value - 元画像の解像度上限[10〜24000dpi]。
例外:
PtlDrvException

getMonochromeImageToValue

public int getMonochromeImageToValue()
                              throws PtlDrvException
白黒画像:縮小する画像の解像度の取得。

戻り値:
縮小する画像の解像度。
例外:
PtlDrvException

setMonochromeImageToValue

public void setMonochromeImageToValue(int value)
                               throws PtlDrvException
白黒画像:縮小する画像の解像度の指定。

パラメータ:
value - 縮小する画像の解像度[10dpi〜元画像の解像度上限]。
例外:
PtlDrvException

getMonochromeImageCompression

public int getMonochromeImageCompression()
                                  throws PtlDrvException
白黒画像:圧縮方法の取得。

戻り値:
圧縮方法。
例外:
PtlDrvException

setMonochromeImageCompression

public void setMonochromeImageCompression(int compression)
                                   throws PtlDrvException
白黒画像:圧縮方法の指定。

パラメータ:
compression - 圧縮方法。
例外:
PtlDrvException

getCompressTextAndLineArt

public boolean getCompressTextAndLineArt()
                                  throws PtlDrvException
テキストとラインアートの圧縮の取得。

戻り値:
テキストとラインアートの圧縮。
例外:
PtlDrvException

setCompressTextAndLineArt

public void setCompressTextAndLineArt(boolean flag)
                               throws PtlDrvException
テキストとラインアートの圧縮の指定。

パラメータ:
flag - true:テキストとラインアートを圧縮する、false:テキストとラインアートを圧縮しない。
例外:
PtlDrvException

getASCIIFormat

public boolean getASCIIFormat()
                       throws PtlDrvException
ASCIIフォーマットで出力の取得。

戻り値:
ASCIIフォーマットで出力。
例外:
PtlDrvException

setASCIIFormat

public void setASCIIFormat(boolean flag)
                    throws PtlDrvException
ASCIIフォーマットで出力の指定。

パラメータ:
flag - true:ASCIIフォーマットで出力する、false:ASCIIフォーマットで出力しない。
例外:
PtlDrvException

getCompressObjectLevel

public boolean getCompressObjectLevel()
                               throws PtlDrvException
オブジェクトレベルの圧縮の取得。

戻り値:
オブジェクトレベルの圧縮。
例外:
PtlDrvException

setCompressObjectLevel

public void setCompressObjectLevel(boolean flag)
                            throws PtlDrvException
オブジェクトレベルの圧縮の指定。

パラメータ:
flag - true:オブジェクトレベルで圧縮する、false:オブジェクトレベルで圧縮しない。
例外:
PtlDrvException