Package com.pdftools.pdf2image
Class PngImageOptions
- java.lang.Object
-
- com.pdftools.internal.NativeBase
-
- com.pdftools.internal.NativeObject
-
- com.pdftools.pdf2image.ImageOptions
-
- com.pdftools.pdf2image.PngImageOptions
-
public class PngImageOptions extends ImageOptions
The settings for PNG output images
For the output file name, it is recommended to use the file extension ".png".
-
-
Constructor Summary
Constructors Constructor Description PngImageOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BackgroundTypegetBackground()Combine a background with the image (Getter)PngColorSpacegetColorSpace()The color space of the output image (Getter)voidsetBackground(BackgroundType value)Combine a background with the image (Setter)voidsetColorSpace(PngColorSpace value)The color space of the output image (Setter)-
Methods inherited from class com.pdftools.internal.NativeObject
equals, hashCode
-
-
-
-
Method Detail
-
getBackground
public BackgroundType getBackground()
Combine a background with the image (Getter)
This property allows a choice of which background to combine with the image.
Default:
BackgroundType.WHITE
-
setBackground
public void setBackground(BackgroundType value)
Combine a background with the image (Setter)
This property allows a choice of which background to combine with the image.
Default:
BackgroundType.WHITE- Throws:
java.lang.IllegalArgumentException- ifvalueisnull
-
getColorSpace
public PngColorSpace getColorSpace()
-
setColorSpace
public void setColorSpace(PngColorSpace value)
- Throws:
java.lang.IllegalArgumentException- ifvalueisnull
-
-