public static    class
      DecodeJpeg.Options
Optional attributes for DecodeJpeg
Public Methods
| 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)
                
               | 
Inherited Methods
Public Methods
public DecodeJpeg.Options acceptableFraction (Float acceptableFraction)
Parameters
| acceptableFraction | The minimum required fraction of lines before a truncated input is accepted. | 
|---|
public DecodeJpeg.Options channels (Long channels)
Parameters
| channels | Number of color channels for the decoded image. | 
|---|
public DecodeJpeg.Options dctMethod (String dctMethod)
Parameters
| 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.) | 
|---|
public DecodeJpeg.Options fancyUpscaling (Boolean fancyUpscaling)
Parameters
| fancyUpscaling | If true use a slower but nicer upscaling of the chroma planes (yuv420/422 only). | 
|---|
public DecodeJpeg.Options tryRecoverTruncated (Boolean tryRecoverTruncated)
Parameters
| tryRecoverTruncated | If true try to recover an image from truncated input. | 
|---|