projects
/
meviz.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated copyright and license.
[meviz.git]
/
src
/
main
/
java
/
eu
/
svjatoslav
/
meviz
/
encoder
/
converters
/
Convert.java
diff --git
a/src/main/java/eu/svjatoslav/meviz/encoder/converters/Convert.java
b/src/main/java/eu/svjatoslav/meviz/encoder/converters/Convert.java
index
cf416a9
..
9de771f
100644
(file)
--- a/
src/main/java/eu/svjatoslav/meviz/encoder/converters/Convert.java
+++ b/
src/main/java/eu/svjatoslav/meviz/encoder/converters/Convert.java
@@
-1,11
+1,11
@@
/*
* Meviz - Various tools collection to work with multimedia.
/*
* Meviz - Various tools collection to work with multimedia.
- * Copyright (C) 2012, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
+ * Copyright (C) 2012
-- 2017-2017
, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
*
* This program is free software; you can redistribute it and/or
*
* 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.
-
*/
+ * modify it under the terms of version
3 of the GNU Lesser
General Public License
+ *
or later
as published by the Free Software Foundation.
+*/
package eu.svjatoslav.meviz.encoder.converters;
package eu.svjatoslav.meviz.encoder.converters;
@@
-25,12
+25,16
@@
public class Convert extends AbstractConverter {
@Override
public List<String> getSourceFileExtensions() {
@Override
public List<String> getSourceFileExtensions() {
- return toList("tif", "tiff", "png", "jpg", "jpeg");
+ return getSupportedFormats();
+ }
+
+ private List<String> getSupportedFormats() {
+ return toList("tif", "tiff", "png", "jpg", "jpeg", "bmp", "gif");
}
@Override
public List<String> getTargetFileExtensions() {
}
@Override
public List<String> getTargetFileExtensions() {
- return
toList("png", "tiff", "tif"
);
+ return
getSupportedFormats(
);
}
@Override
}
@Override