Explorar el Código

Merge pull request #36352 from nextcloud/enh/noid/imaginary-add-tiff

imaginary - add tiff to supported formats
tags/v26.0.0beta1
Simon L hace 1 año
padre
commit
352bd7ecea
No account linked to committer's email address
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      lib/private/Preview/Imaginary.php

+ 1
- 1
lib/private/Preview/Imaginary.php Ver fichero

@@ -57,7 +57,7 @@ class Imaginary extends ProviderV2 {
}

public static function supportedMimeTypes(): string {
return '/image\/(bmp|x-bitmap|png|jpeg|gif|heic|svg|webp)/';
return '/image\/(bmp|x-bitmap|png|jpeg|gif|heic|svg|tiff|webp)/';
}

public function getCroppedThumbnail(File $file, int $maxX, int $maxY, bool $crop): ?IImage {

Cargando…
Cancelar
Guardar