We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f15ec2 commit b902461Copy full SHA for b902461
cineast-core/src/main/java/org/vitrivr/cineast/core/features/exporter/ShotThumbnailsExporter.java
@@ -4,6 +4,7 @@
4
import java.io.File;
5
import java.io.IOException;
6
import java.util.HashMap;
7
+import java.util.Map;
8
import java.util.function.Supplier;
9
import javax.imageio.ImageIO;
10
import org.apache.logging.log4j.LogManager;
@@ -51,7 +52,7 @@ public ShotThumbnailsExporter() {
51
52
*
53
* @param properties HashMap containing named properties
54
*/
- public ShotThumbnailsExporter(HashMap<String, String> properties) {
55
+ public ShotThumbnailsExporter(Map<String, String> properties) {
56
this.folder = new File(properties.getOrDefault(PROPERTY_NAME_DESTINATION, "./thumbnails"));
57
this.format = properties.getOrDefault(PROPERTY_NAME_FORMAT, "JPG");
58
}
0 commit comments