-
public final class WebPAnimEncoderOptionsOptions for configuring the WebP animation encoder.
-
-
Field Summary
Fields Modifier and Type Field Description private final BooleanminimizeSizeprivate final Integerkminprivate final Integerkmaxprivate final BooleanallowMixedprivate final Booleanverboseprivate final WebPMuxAnimParamsanimParams
-
Constructor Summary
Constructors Constructor Description WebPAnimEncoderOptions(Boolean minimizeSize, Integer kmin, Integer kmax, Boolean allowMixed, Boolean verbose, WebPMuxAnimParams animParams)
-
Method Summary
Modifier and Type Method Description final BooleangetMinimizeSize()final IntegergetKmin()final IntegergetKmax()final BooleangetAllowMixed()final BooleangetVerbose()final WebPMuxAnimParamsgetAnimParams()-
-
Constructor Detail
-
WebPAnimEncoderOptions
WebPAnimEncoderOptions(Boolean minimizeSize, Integer kmin, Integer kmax, Boolean allowMixed, Boolean verbose, WebPMuxAnimParams animParams)
- Parameters:
minimizeSize- If true, minimizes the output size (slow) and implicitly disables key-frame insertion.kmin- The minimum distance between consecutive key frames in the output.kmax- The maximum distance between consecutive key frames in the output.allowMixed- If true, uses mixed compression mode, allowing lossy and lossless frames.verbose- If true, enables printing info and warning messages to stderr.animParams- Animation parameters for the WebP animation.
-
-
Method Detail
-
getMinimizeSize
final Boolean getMinimizeSize()
-
getAllowMixed
final Boolean getAllowMixed()
-
getVerbose
final Boolean getVerbose()
-
getAnimParams
final WebPMuxAnimParams getAnimParams()
-
-
-
-