SGI.php 409 B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
  4. * SPDX-License-Identifier: AGPL-3.0-or-later
  5. */
  6. namespace OC\Preview;
  7. //.sgi
  8. class SGI extends Bitmap {
  9. /**
  10. * {@inheritDoc}
  11. */
  12. public function getMimeType(): string {
  13. return '/image\/(x-)?sgi/';
  14. }
  15. /**
  16. * {@inheritDoc}
  17. */
  18. protected function getAllowedMimeTypes(): string {
  19. return '/image\/(x-)?sgi/';
  20. }
  21. }