ImageSaveOptions

Inheritance: java.lang.Object, com.aspose.page.SaveOptions

public class ImageSaveOptions extends SaveOptions

このクラスは、変換プロセスの管理に必要なオプションを含んでいます。

コンストラクタ

コンストラクタ説明
ImageSaveOptions()ImageSaveOptions クラスの新しいインスタンスを初期化し、フラグ suppressErrors (true) と debug (false) のデフォルト値を設定します。
ImageSaveOptions(ImageFormat imageFormat)指定された画像形式で ImageSaveOptions の新しいインスタンスを初期化します。
ImageSaveOptions(Dimension size)指定された画像サイズで ImageSaveOptions の新しいインスタンスを初期化します。
ImageSaveOptions(Dimension size, ImageFormat imageFormat)指定された画像サイズと画像形式で ImageSaveOptions の新しいインスタンスを初期化します。
ImageSaveOptions(ImageFormat imageFormat, boolean supressErrors)指定された画像形式と suppressErrors フラグで ImageSaveOptions の新しいインスタンスを初期化します。
ImageSaveOptions(Dimension size, boolean supressErrors)指定された画像サイズと suppressErrors フラグで ImageSaveOptions の新しいインスタンスを初期化します。
ImageSaveOptions(Dimension size, ImageFormat imageFormat, boolean supressErrors)指定された画像サイズ、画像形式、そして suppressErrors フラグで ImageSaveOptions の新しいインスタンスを初期化します。
ImageSaveOptions(boolean supressErrors)ImageSaveOptions クラスの新しいインスタンスを初期化し、フラグ debug (false) のデフォルト値を設定します。

メソッド

メソッド説明
equals(Object arg0)
getAdditionalFontsFolders()コンバータが入力ドキュメントのフォントを検索すべき追加のフォントフォルダーを返します。
getClass()
getConvertFontsToTTF()非 TrueType フォントを TTF に保存する必要があるかを示すフラグを取得します。
getExceptions()致命的でないエラーのリストを返します。
getImageFormat()結果画像の画像形式を取得します。
getJpegQualityLevel()画像の圧縮レベルを指定する値を返します。
getResolution()結果画像の解像度を返します。
getSize()ページまたは画像のサイズを取得します。
getSmoothingMode()スムージングモードを取得します。
getTryJoinImageFragments()ライブラリが画像フラグメントを結合しようとするかどうかを示します。
hashCode()
isDebug()変換中の警告やメッセージの出力を許可するフラグを取得します。
isSupressErrors()変換中にエラーが抑制されるかどうかを示す値を返します。
notify()
notifyAll()
setAdditionalFontsFolders(String[] fontsFolders)コンバータが入力ドキュメントのフォントを検索すべき追加のフォントフォルダーを指定します。
setConvertFontsToTTF(boolean value)非 TrueType フォントを TTF に保存するかどうかを指定します。
setDebug(boolean debug)変換中の警告やメッセージの出力を許可するフラグを指定します。
setImageFormat(ImageFormat imageFormat)結果画像の画像形式を指定します。
setJpegQualityLevel(int value)画像の圧縮レベルを指定する値を設定します。
setResolution(float resolution)結果画像の解像度を指定します。
setSize(Dimension size)ページまたは画像のサイズを指定します。
setSmoothingMode(SmoothingMode smoothingMode)スムージングモードを設定します。
setSupressErrors(boolean supressErrors)変換中にエラーが抑制されるかどうかを示すフラグを指定します。
setTryJoinImageFragments(boolean tryJoinImageFragments)ライブラリが画像フラグメントの結合を試みるかどうかを指定します。
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

ImageSaveOptions()

public ImageSaveOptions()

ImageSaveOptions クラスの新しいインスタンスを初期化し、フラグ suppressErrors (true) と debug (false) のデフォルト値を設定します。

ImageSaveOptions(ImageFormat imageFormat)

public ImageSaveOptions(ImageFormat imageFormat)

指定された画像形式で ImageSaveOptions の新しいインスタンスを初期化します。

Parameters:

パラメータ説明
imageFormatImageFormat画像の形式です。

ImageSaveOptions(Dimension size)

public ImageSaveOptions(Dimension size)

指定された画像サイズで ImageSaveOptions の新しいインスタンスを初期化します。

Parameters:

パラメータ説明
sizejava.awt.Dimension画像サイズ。

ImageSaveOptions(Dimension size, ImageFormat imageFormat)

public ImageSaveOptions(Dimension size, ImageFormat imageFormat)

指定された画像サイズと画像形式で ImageSaveOptions の新しいインスタンスを初期化します。

Parameters:

パラメータ説明
sizejava.awt.Dimension画像サイズ。
imageFormatImageFormat画像の形式。

ImageSaveOptions(ImageFormat imageFormat, boolean supressErrors)

public ImageSaveOptions(ImageFormat imageFormat, boolean supressErrors)

指定された画像形式と suppressErrors フラグで ImageSaveOptions の新しいインスタンスを初期化します。

Parameters:

パラメータ説明
imageFormatImageFormat画像の形式。
supressErrorsbooleantrue の場合、致命的でないエラーがあっても変換を続行します。

ImageSaveOptions(Dimension size, boolean supressErrors)

public ImageSaveOptions(Dimension size, boolean supressErrors)

指定された画像サイズと suppressErrors フラグで ImageSaveOptions の新しいインスタンスを初期化します。

Parameters:

パラメータ説明
sizejava.awt.Dimension画像サイズ。
supressErrorsbooleantrue の場合、致命的でないエラーがあっても変換を続行します。

ImageSaveOptions(Dimension size, ImageFormat imageFormat, boolean supressErrors)

public ImageSaveOptions(Dimension size, ImageFormat imageFormat, boolean supressErrors)

指定された画像サイズ、画像形式、そして suppressErrors フラグで ImageSaveOptions の新しいインスタンスを初期化します。

Parameters:

パラメータ説明
sizejava.awt.Dimension画像サイズ。
imageFormatImageFormat画像の形式。
supressErrorsbooleantrue の場合、致命的でないエラーがあっても変換を続行します。

ImageSaveOptions(boolean supressErrors)

public ImageSaveOptions(boolean supressErrors)

ImageSaveOptions クラスの新しいインスタンスを初期化し、フラグ debug (false) のデフォルト値を設定します。

Parameters:

パラメータ説明
supressErrorsbooleantrue の場合、致命的でないエラーがあっても変換を続行します。

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

パラメータ説明
arg0java.lang.Object

Returns: boolean

getAdditionalFontsFolders()

public String[] getAdditionalFontsFolders()

コンバータが入力ドキュメントのフォントを検索すべき追加のフォントフォルダーを返します。デフォルトのフォルダーは、OS が内部で使用するフォントを検索する標準フォントフォルダーです。

Returns: java.lang.String[] - フォントフォルダーの配列。

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getConvertFontsToTTF()

public boolean getConvertFontsToTTF()

非 TrueType フォントを TTF に保存する必要があるかを示すフラグを取得します。

Returns: boolean - フラグの値。

getExceptions()

public List<Exception> getExceptions()

致命的でないエラーのリストを返します。

Returns: java.util.List<java.lang.Exception> - 例外リスト

getImageFormat()

public ImageFormat getImageFormat()

結果画像の画像形式を取得します。

Returns: ImageFormat - An output image format.

getJpegQualityLevel()

public int getJpegQualityLevel()

画像の圧縮レベルを指定する値を返します。利用可能な値は 0 から 100 です。指定した数値が小さいほど圧縮率が高くなり、画像の品質は低くなります。0 の場合は最低品質の画像になり、100 の場合は最高品質になります。

Returns: int - 画像の圧縮レベルを指定する値。

getResolution()

public float getResolution()

結果画像の解像度を返します。

Returns: float - 画像の解像度。

getSize()

public Dimension getSize()

ページまたは画像のサイズを取得します。

Returns: java.awt.Dimension - ページまたは画像のサイズです。

getSmoothingMode()

public SmoothingMode getSmoothingMode()

スムージングモードを取得します。

Returns: SmoothingMode - the smoothingMode.

getTryJoinImageFragments()

public boolean getTryJoinImageFragments()

ライブラリが画像フラグメントの結合を試みるかどうかを示します。これは、ソースの PS/EPS ファイル内の画像がフラグメントに分割されている場合に使用されます。このフラグがない場合、フラグメント間に細い隙間が残ります。

Returns: boolean - フラグの値。

hashCode()

public native int hashCode()

Returns: int

isDebug()

public boolean isDebug()

変換中の警告やメッセージの出力を許可するフラグを取得します。

Returns: boolean - デバッグ値。

isSupressErrors()

public boolean isSupressErrors()

変換中にエラーが抑制されるかどうかを示す値を返します。

Returns: boolean - 真偽値

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setAdditionalFontsFolders(String[] fontsFolders)

public void setAdditionalFontsFolders(String[] fontsFolders)

コンバータが入力ドキュメントのフォントを検索すべき追加のフォントフォルダーを指定します。デフォルトのフォルダーは、OS が内部で使用するフォントを検索する標準フォントフォルダーです。

Parameters:

パラメータ説明
fontsFoldersjava.lang.String[]フォントフォルダーの配列です。

setConvertFontsToTTF(boolean value)

public void setConvertFontsToTTF(boolean value)

非TrueTypeフォントをTTFに保存するかどうかを指定します。これにより、PSからPDFへの変換時の生成ドキュメントの容量が大幅に減少し、非TrueTypeフォントで大量のテキストを含むPSファイルを任意の出力形式に変換する速度が向上します。ただし、PostScriptファイルを画像に変換する際にテキストがわずかに垂直方向にずれることがあります。

Parameters:

パラメータ説明
valuebooleanフラグの値です。

setDebug(boolean debug)

public void setDebug(boolean debug)

変換中の警告やメッセージの出力を許可するフラグを指定します。

Parameters:

パラメータ説明
debugbooleanブール値です。

setImageFormat(ImageFormat imageFormat)

public void setImageFormat(ImageFormat imageFormat)

結果画像の画像形式を指定します。

Parameters:

パラメータ説明
imageFormatImageFormat出力画像形式です。

setJpegQualityLevel(int value)

public void setJpegQualityLevel(int value)

画像の圧縮レベルを指定する値を設定します。利用可能な値は 0 から 100 です。指定した数値が小さいほど圧縮率が高くなり、画像の品質は低くなります。0 の場合は最低品質の画像になり、100 の場合は最高品質になります。

Parameters:

パラメータ説明
valueint画像の圧縮レベルを指定する値。

setResolution(float resolution)

public void setResolution(float resolution)

結果画像の解像度を指定します。

Parameters:

パラメータ説明
解像度float画像の解像度です。

setSize(Dimension size)

public void setSize(Dimension size)

ページまたは画像のサイズを指定します。

Parameters:

パラメータ説明
sizejava.awt.Dimensionページまたは画像のサイズです。

setSmoothingMode(SmoothingMode smoothingMode)

public void setSmoothingMode(SmoothingMode smoothingMode)

スムージングモードを設定します。

Parameters:

パラメータ説明
smoothingModeSmoothingMode設定する smoothingMode

setSupressErrors(boolean supressErrors)

public void setSupressErrors(boolean supressErrors)

変換中にエラーが抑制されるかどうかを示すフラグを指定します。

Parameters:

パラメータ説明
supressErrorsbooleanブール値です。

setTryJoinImageFragments(boolean tryJoinImageFragments)

public void setTryJoinImageFragments(boolean tryJoinImageFragments)

ライブラリが画像フラグメントの結合を試みるかどうかを指定します。これは、ソースの PS/EPS ファイル内の画像がフラグメントに分割されている場合に使用されます。このフラグがない場合、フラグメント間に細い隙間が残ります。

Parameters:

パラメータ説明
tryJoinImageFragmentsbooleanフラグの値。

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

パラメータ説明
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

パラメータ説明
arg0long
arg1int