2 * Meviz - Various tools collection to work with multimedia.
3 * Copyright (C) 2012, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of version 2 of the GNU General Public License
7 * as published by the Free Software Foundation.
10 package eu.svjatoslav.meviz.encoder.converters;
13 import java.util.List;
15 import eu.svjatoslav.meviz.encoder.EncodingOptions;
17 public class Convert extends AbstractConverter {
20 public String getCommand(final File inputFile, final File targetFile,
21 final EncodingOptions options) {
22 return "convert \"" + inputFile.getAbsolutePath() + "\" \""
23 + targetFile.getAbsolutePath() + "\"";
27 public List<String> getSourceFileExtensions() {
28 return toList("tif", "tiff", "png", "jpg", "jpeg");
32 public List<String> getTargetFileExtensions() {
33 return toList("png", "tiff", "tif");
37 public boolean isTerminalMandatory() {