Skip to content

Commit 3a9cc5b

Browse files
committed
fix: Do not attempt to classify TIFF files
fixes #1430 Signed-off-by: Marcel Klehr <[email protected]>
1 parent fc1ad13 commit 3a9cc5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Constants.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
namespace OCA\Recognize;
99

1010
final class Constants {
11-
public const IMAGE_FORMATS = ['image/jpeg', 'image/png', 'image/bmp', 'image/heic', 'image/heif', 'image/tiff', 'image/webp'];
11+
public const IMAGE_FORMATS = ['image/jpeg', 'image/png', 'image/bmp', 'image/heic', 'image/heif', 'image/webp'];
1212
public const AUDIO_FORMATS = ['audio/mpeg', 'audio/mp4', 'audio/ogg', 'audio/vnd.wav', 'audio/flac'];
1313
public const VIDEO_FORMATS = ['image/gif', 'video/mp4', 'video/MP2T', 'video/x-msvideo', 'video/x-ms-wmv', 'video/quicktime', 'video/ogg', 'video/mpeg', 'video/webm', 'video/x-matroska'];
1414
public const DIRECTORY_FORMATS = ['httpd/unix-directory'];

0 commit comments

Comments
 (0)