2 * Meviz - Various tools collection to work with multimedia. Author: Svjatoslav Agejenko.
3 * This project is released under Creative Commons Zero (CC0) license.
6 package eu.svjatoslav.meviz.encoder.converters;
8 import eu.svjatoslav.meviz.encoder.EncodingOptions;
11 import java.util.List;
17 public class WebpDecoder extends AbstractConverter {
20 public String getCommand(final File inputFile, final File targetFile,
21 final EncodingOptions options, String targetFormat) {
23 return "dwebp \"" + inputFile.getAbsolutePath() + "\" -o \"" +
24 targetFile.getAbsolutePath() + "\"";
28 public List<String> getTargetFileExtensions() {
33 public List<String> getSourceFileExtensions() {
34 return toList("webp");
38 public boolean isTerminalMandatory() {