public static final class PdfImageXObject.ImageBytesRetrievalProperties extends Object
Use getApplyFiltersOnly to get the image as close to the stored state as possible. No pixels will be manipulated.
Use getFullOption to get an image as displayed in the document. The full options will be extended in the future to support more color spaces and can lead to different outcomes for some image types.
| Modifier and Type | Method and Description |
|---|---|
static PdfImageXObject.ImageBytesRetrievalProperties |
getApplyFiltersOnly()
Create a property set with only the options applyFilters activates.
|
static PdfImageXObject.ImageBytesRetrievalProperties |
getFullOption()
Create a property set with all options activated.
|
boolean |
isApplyDecodeArray()
Returns whether to apply an images decode transformation or not.
|
boolean |
isApplyFilters()
Returns whether to apply the bytestreams filters.
|
boolean |
isApplyTintTransformations()
Returns whether tint transformations will be applied.
|
boolean |
isApplyTransparency()
Returns whether transparency will be applied to the result.
|
void |
setApplyDecodeArray(boolean applyDecodeArray)
Sets whether to apply an image's decode transformation.
|
void |
setApplyFilters(boolean applyFilters)
Sets whether to apply the bytestreams filters.
|
void |
setApplyTintTransformations(boolean applyTintTransformations)
Sets whether tint transformations will be applied.
|
void |
setApplyTransparency(boolean applyTransparency)
Sets whether transparency will be applied to the result.
|
public static PdfImageXObject.ImageBytesRetrievalProperties getApplyFiltersOnly()
Use this to retrieve images as close to the stored state as possible. No pixels will be manipulated.
public static PdfImageXObject.ImageBytesRetrievalProperties getFullOption()
Use this to retrieve images as closely as possible to how they are being displayed in the document.
public boolean isApplyTransparency()
public void setApplyTransparency(boolean applyTransparency)
applyTransparency - set to true to apply transparency.public boolean isApplyDecodeArray()
An image’s Decode array specifies a linear mapping of each integer component.
public void setApplyDecodeArray(boolean applyDecodeArray)
An image’s Decode array specifies a linear mapping of each integer component.
applyDecodeArray - whether to apply an images decode transformationpublic boolean isApplyTintTransformations()
Some color spaces define application-specific colors. To be able to display these images in an rgb or cmyk color space, there can be tint transformations defined to translate these colors.
public void setApplyTintTransformations(boolean applyTintTransformations)
Some color spaces define application-specific colors. To be able to display these images in an rgb or cmyk color space, there can be tint transformations defined to translate these colors.
applyTintTransformations - whether to apply tint transformationspublic boolean isApplyFilters()
Without this option, the other options are disregarded.
public void setApplyFilters(boolean applyFilters)
Without this option, the other options are disregarded.
applyFilters - whether to apply the bytestreams filtersCopyright © 1998–2025 Apryse Group NV. All rights reserved.