diff options
Diffstat (limited to 'lib/private/Preview/GIF.php')
-rw-r--r-- | lib/private/Preview/GIF.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/private/Preview/GIF.php b/lib/private/Preview/GIF.php new file mode 100644 index 00000000000..941ef68648a --- /dev/null +++ b/lib/private/Preview/GIF.php @@ -0,0 +1,17 @@ +<?php + +/** + * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2016 ownCloud, Inc. + * SPDX-License-Identifier: AGPL-3.0-only + */ +namespace OC\Preview; + +class GIF extends Image { + /** + * {@inheritDoc} + */ + public function getMimeType(): string { + return '/image\/gif/'; + } +} |