Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2017-04-23 17:40:42 +0300
committerStefan Weil <sw@weilnetz.de>2017-04-25 19:43:39 +0300
commiteb7e4d48c9f016575863ab4449ccf45ac31fa3a4 (patch)
treefeaa4ab38631be2c4a7b1dafaa4b101a07369305 /resources
parent51da0442d9604f9285d02b56f2b1f669701da90b (diff)
Add mimetypes for jp2 and webp
Those image formats can be processed by Tesseract, so they are needed for improved Nextcloud OCR. Signed-off-by: Stefan Weil <sw@weilnetz.de>
Diffstat (limited to 'resources')
-rw-r--r--resources/config/mimetypemapping.dist.json2
1 files changed, 2 insertions, 0 deletions
diff --git a/resources/config/mimetypemapping.dist.json b/resources/config/mimetypemapping.dist.json
index 2b187a6ac85..09be65dd86f 100644
--- a/resources/config/mimetypemapping.dist.json
+++ b/resources/config/mimetypemapping.dist.json
@@ -71,6 +71,7 @@
"iiq": ["image/x-dcraw"],
"impress": ["text/impress"],
"java": ["text/x-java-source"],
+ "jp2": ["image/jp2"],
"jpeg": ["image/jpeg"],
"jpg": ["image/jpeg"],
"jps": ["image/jpeg"],
@@ -170,6 +171,7 @@
"vsd": ["application/vnd.visio"],
"wav": ["audio/wav"],
"webm": ["video/webm"],
+ "webp": ["image/webp"],
"woff": ["application/font-woff"],
"wpd": ["application/vnd.wordperfect"],
"wmv": ["video/x-ms-wmv"],