aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Preview/TGA.php
blob: 675907b4e490d1b9755ea8b915b498fbecb1b7dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php

/**
 * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */
namespace OC\Preview;

//.tga
class TGA extends Bitmap {
	/**
	 * {@inheritDoc}
	 */
	public function getMimeType(): string {
		return '/image\/(x-)?t(ar)?ga/';
	}

	/**
	 * {@inheritDoc}
	 */
	protected function getAllowedMimeTypes(): string {
		return '/image\/(x-)?t(ar)?ga/';
	}
}