public static class DecodeAndCropJpeg.Options extends Object
DecodeAndCropJpeg| Modifier and Type | Method and Description |
|---|---|
DecodeAndCropJpeg.Options |
acceptableFraction(Float acceptableFraction) |
DecodeAndCropJpeg.Options |
channels(Long channels) |
DecodeAndCropJpeg.Options |
dctMethod(String dctMethod) |
DecodeAndCropJpeg.Options |
fancyUpscaling(Boolean fancyUpscaling) |
DecodeAndCropJpeg.Options |
ratio(Long ratio) |
DecodeAndCropJpeg.Options |
tryRecoverTruncated(Boolean tryRecoverTruncated) |
public DecodeAndCropJpeg.Options channels(Long channels)
channels - Number of color channels for the decoded image.public DecodeAndCropJpeg.Options ratio(Long ratio)
ratio - Downscaling ratio.public DecodeAndCropJpeg.Options fancyUpscaling(Boolean fancyUpscaling)
fancyUpscaling - If true use a slower but nicer upscaling of the
chroma planes (yuv420/422 only).public DecodeAndCropJpeg.Options tryRecoverTruncated(Boolean tryRecoverTruncated)
tryRecoverTruncated - If true try to recover an image from truncated input.public DecodeAndCropJpeg.Options acceptableFraction(Float acceptableFraction)
acceptableFraction - The minimum required fraction of lines before a truncated
input is accepted.public DecodeAndCropJpeg.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.