/*
* Meviz - Various tools collection to work with multimedia.
* Copyright (C) 2012, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
- *
+ *
* This program is free software; you can redistribute it and/or
* modify it under the terms of version 2 of the GNU General Public License
* as published by the Free Software Foundation.
@Override
public String getCommand(final File inputFile, final File targetFile,
- final EncodingOptions options) {
+ final EncodingOptions options, String targetFormat) {
return "convert \"" + inputFile.getAbsolutePath() + "\" \""
+ targetFile.getAbsolutePath() + "\"";
}
@Override
public List<String> getSourceFileExtensions() {
- return toList("tif", "tiff", "jpg", "jpeg");
+ return toList("tif", "tiff", "png", "jpg", "jpeg");
}
@Override
public List<String> getTargetFileExtensions() {
- return toList("png", "tiff");
+ return toList("png", "tiff", "tif");
}
@Override