Updated copyright and license.
[meviz.git] / src / main / java / eu / svjatoslav / meviz / encoder / converters / Convert.java
index cf416a9..9de771f 100644 (file)
@@ -1,11 +1,11 @@
 /*
  * 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
- * 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;
 
@@ -25,12 +25,16 @@ public class Convert extends AbstractConverter {
 
     @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() {
-        return toList("png", "tiff", "tif");
+        return getSupportedFormats();
     }
 
     @Override