public static class DecodeJpeg.Options extends Object
DecodeJpeg| Modifier and Type | Method and Description |
|---|---|
DecodeJpeg.Options |
acceptableFraction(Float acceptableFraction) |
DecodeJpeg.Options |
channels(Long channels) |
DecodeJpeg.Options |
dctMethod(String dctMethod) |
DecodeJpeg.Options |
fancyUpscaling(Boolean fancyUpscaling) |
DecodeJpeg.Options |
ratio(Long ratio) |
DecodeJpeg.Options |
tryRecoverTruncated(Boolean tryRecoverTruncated) |
public DecodeJpeg.Options channels(Long channels)
channels - Number of color channels for the decoded image.public DecodeJpeg.Options ratio(Long ratio)
ratio - Downscaling ratio.public DecodeJpeg.Options fancyUpscaling(Boolean fancyUpscaling)
fancyUpscaling - If true use a slower but nicer upscaling of the
chroma planes (yuv420/422 only).public DecodeJpeg.Options tryRecoverTruncated(Boolean tryRecoverTruncated)
tryRecoverTruncated - If true try to recover an image from truncated input.public DecodeJpeg.Options acceptableFraction(Float acceptableFraction)
acceptableFraction - The minimum required fraction of lines before a truncated
input is accepted.public DecodeJpeg.Options dctMethod(String dctMethod)
dctMethod - string specifying a hint about the algorithm used for
decompression. Defaults to "" which maps to a system-specific
default. Currently valid values are ["INTEGER_FAST",
"INTEGER_ACCURATE"]. The hint may be ignored (e.g., the internal
jpeg library changes to a version that does not have that specific
option.)Copyright © 2015–2019. All rights reserved.