public class ToImageOptionsSpec extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected CMYKPolicy |
cmykPolicy |
protected ColorCompression |
colorCompression |
protected ColorSpace |
colorSpace |
protected PNGFilter |
filter |
protected JPEGFormat |
format |
protected GrayScaleCompression |
grayScaleCompression |
protected GrayScalePolicy |
grayScalePolicy |
protected ImageConvertFormat |
imageConvertFormat |
protected String |
imageSizeHeight |
protected String |
imageSizeWidth |
protected boolean |
includeComments |
protected Interlace |
interlace |
protected MonochromeCompression |
monochrome |
protected Boolean |
multiPageTiff |
protected String |
pageRange |
protected String |
resolution |
protected RGBPolicy |
rgbPolicy |
protected int |
rowsPerStrip |
protected int |
tileSize |
protected boolean |
useLegacyImageSizeBehavior |
Constructor and Description |
---|
ToImageOptionsSpec() |
Modifier and Type | Method and Description |
---|---|
CMYKPolicy |
getCmykPolicy()
Retrieves the CMYK policy.
|
ColorCompression |
getColorCompression()
Retrieves the color compression.
|
ColorSpace |
getColorSpace()
Retrieves the color space.
|
PNGFilter |
getFilter()
Retrieves the PNG filter value.
|
JPEGFormat |
getFormat()
Retrieves the JPEG format.
|
GrayScaleCompression |
getGrayScaleCompression()
Retrieves the grayscale compression.
|
GrayScalePolicy |
getGrayScalePolicy()
Retrieves the grayscale policy.
|
ImageConvertFormat |
getImageConvertFormat()
Retrieves the image conversion format.
|
String |
getImageSizeHeight()
Returns a string value that specifies the page height of the resulting image file.
|
String |
getImageSizeWidth()
Returns a string value that specifies the page width of the resulting image file.
|
Interlace |
getInterlace()
Retrieves the interlace.
|
MonochromeCompression |
getMonochrome()
Retrieves the monochrome compression.
|
Boolean |
getMultiPageTiff()
Specifies whether the output TIFF should be located on multiple pages.
|
String |
getPageRange()
Returns a string value that specifies the page range value.
|
String |
getResolution()
Retrieves the image resolution.
|
RGBPolicy |
getRgbPolicy()
Retrieves the RGB policy.
|
int |
getRowsPerStrip()
Gets the rows for each strip.
|
int |
getTileSize()
Retrieves the tile size.
|
boolean |
isIncludeComments()
Specifies whether comments are included when converting the PDF document.
|
boolean |
isUseLegacyImageSizeBehavior()
returns the option whether the legacy image size behavior needs to be used or not
|
void |
setCmykPolicy(CMYKPolicy cmykPolicy)
Sets the CMYK policy.
|
void |
setColorCompression(ColorCompression colorCompression)
Sets the color compression.
|
void |
setColorSpace(ColorSpace colorSpace)
Sets the color space.
|
void |
setFilter(PNGFilter filter)
Sets the filter.
|
void |
setFormat(JPEGFormat format)
Sets the JPEG format.
|
void |
setGrayScaleCompression(GrayScaleCompression grayScaleCompression)
Sets the grayscale compression.
|
void |
setGrayScalePolicy(GrayScalePolicy grayScalePolicy)
Sets the grayscale policy.
|
void |
setImageConvertFormat(ImageConvertFormat imageConvertFormat)
Sets the image conversion format.
|
void |
setImageSizeHeight(String imageSizeHeight)
Sets the image height of the resulting image file.
|
void |
setImageSizeWidth(String imageSizeWidth)
Sets the image width of the resulting image file.
|
void |
setIncludeComments(boolean includeComments)
Specifies that comments are included when converting the PDF document.
|
void |
setInterlace(Interlace interlace)
Sets the interlace.
|
void |
setMonochrome(MonochromeCompression monochrome)
Sets the monochrome compression.
|
void |
setMultiPageTiff(Boolean multiPageTiff)
Sets whether the output TIFF should be located on multiple pages.
|
void |
setPageRange(String pageRange)
Sets a string value that specifies the page range value.
|
void |
setResolution(String resolution)
Sets the image resolution.
|
void |
setRgbPolicy(RGBPolicy rgbPolicy)
Sets the RGB policy.
|
void |
setRowsPerStrip(int rowsPerStrip)
Sets the rows for each strip.
|
void |
setTileSize(int tileSize)
Sets the image tile size.
|
void |
setUseLegacyImageSizeBehavior(boolean useLegacyImageSizeBehavior)
sets the option to use legacy image size behavior or not
|
protected ImageConvertFormat imageConvertFormat
protected GrayScaleCompression grayScaleCompression
protected ColorCompression colorCompression
protected JPEGFormat format
protected RGBPolicy rgbPolicy
protected CMYKPolicy cmykPolicy
protected GrayScalePolicy grayScalePolicy
protected ColorSpace colorSpace
protected String resolution
protected int tileSize
protected int rowsPerStrip
protected Interlace interlace
protected PNGFilter filter
protected MonochromeCompression monochrome
protected Boolean multiPageTiff
protected boolean includeComments
protected String imageSizeWidth
protected String imageSizeHeight
protected String pageRange
protected boolean useLegacyImageSizeBehavior
public boolean isUseLegacyImageSizeBehavior()
public void setUseLegacyImageSizeBehavior(boolean useLegacyImageSizeBehavior)
useLegacyImageSizeBehavior
- public ImageConvertFormat getImageConvertFormat()
ImageConvertFormat
enumeration value that specifies the image conversion format.ImageConvertFormat
public void setImageConvertFormat(ImageConvertFormat imageConvertFormat)
imageConvertFormat
- An ImageConvertFormat
enumeration value that specifies the image conversion format.ImageConvertFormat
public CMYKPolicy getCmykPolicy()
CMYKPolicy
enumeration value that specifies the CMYK policy.CMYKPolicy
public void setCmykPolicy(CMYKPolicy cmykPolicy)
cmykPolicy
- A CMYKPolicy
enumeration value that specifies the CMYK policy.CMYKPolicy
public ColorCompression getColorCompression()
ColorCompression
enumeration value that specifies the color compression option.ColorCompression
public void setColorCompression(ColorCompression colorCompression)
colorCompression
- A ColorCompression
enumeration value that specifies the color compression option.ColorCompression
public ColorSpace getColorSpace()
ColorSpace
enumeration value that specifies the color space option.ColorSpace
public void setColorSpace(ColorSpace colorSpace)
colorSpace
- A ColorSpace
enumeration value that specifies the color space option.ColorSpace
public PNGFilter getFilter()
PNGFilter
enumeration value that specifies the PNG filter value.PNGFilter
public void setFilter(PNGFilter filter)
filter
- A PNGFilter
enumeration value that specifies the PNG filter value.PNGFilter
public JPEGFormat getFormat()
JPEGFormat
enumeration value that specifies the JPEG format.JPEGFormat
public void setFormat(JPEGFormat format)
format
- A JPEGFormat
enumeration value that specifies the JPEG format.JPEGFormat
public GrayScaleCompression getGrayScaleCompression()
GrayScaleCompression
enumeration value that specifies the grayscale compression.GrayScaleCompression
public void setGrayScaleCompression(GrayScaleCompression grayScaleCompression)
grayScaleCompression
- A GrayScaleCompression
enumeration value that specifies the grayscale compression.GrayScaleCompression
public GrayScalePolicy getGrayScalePolicy()
GrayScalePolicy
enumeration value that specifies the grayscale compression policy.GrayScalePolicy
public void setGrayScalePolicy(GrayScalePolicy grayScalePolicy)
grayScalePolicy
- A GrayScalePolicy
enumeration value that specifies the grayscale compression policy.GrayScalePolicy
public Interlace getInterlace()
Interlace
enumeration value that specifies the interlace.Interlace
public void setInterlace(Interlace interlace)
interlace
- An Interlace
enumeration value that specifies the interlace.Interlace
public MonochromeCompression getMonochrome()
MonochromeCompression
enumeration value that specifies the monochrome compression.MonochromeCompression
public void setMonochrome(MonochromeCompression monochrome)
monochrome
- A MonochromeCompression
enumeration value that specifies the monochrome compression.MonochromeCompression
public String getResolution()
public void setResolution(String resolution)
resolution
- A string value that specifies the image resolution.public RGBPolicy getRgbPolicy()
RGBPolicy
enumeration value that specifies the RGB policy.RGBPolicy
public void setRgbPolicy(RGBPolicy rgbPolicy)
rgbPolicy
- A RGBPolicy
enumeration value that specifies the RGB policy.RGBPolicy
public int getTileSize()
128-2048
.public void setTileSize(int tileSize)
tileSize
- The image tile size. It must be assigned a value in the following range: 128-2048
.public int getRowsPerStrip()
public void setRowsPerStrip(int rowsPerStrip)
rowsPerStrip
- The number of rows for each strip.public Boolean getMultiPageTiff()
public void setMultiPageTiff(Boolean multiPageTiff)
multiPageTiff
- A boolean value that specifies whether the output TIFF file should be on multiple pages.public boolean isIncludeComments()
public void setIncludeComments(boolean includeComments)
includeComments
- boolean value that specifies whether comments are included.public String getImageSizeHeight()
setImageSizeHeight()
public void setImageSizeHeight(String imageSizeHeight)
imageSizeHeight
- A string value that specifies the image height of the resulting image file.
This does not work in toImage API and should be used only with toImage2 API.public String getImageSizeWidth()
setImageSizeWidth()
public void setImageSizeWidth(String imageSizeWidth)
imageSizeWidth
- A string value that specifies the image width of the resulting image file.
This does not work in toImage API and should be used only with toImage2 API.public String getPageRange()
public void setPageRange(String pageRange)
pageRange
- the pageRange to setCopyright © 1982–2022 Adobe Systems Inc.. All rights reserved.