37 lines
2.0 KiB
Diff
37 lines
2.0 KiB
Diff
diff --git a/glycin-loaders/glycin-image-rs/glycin-image-rs.conf b/glycin-loaders/glycin-image-rs/glycin-image-rs.conf
|
|
index 7e744ea..40ee246 100644
|
|
--- a/glycin-loaders/glycin-image-rs/glycin-image-rs.conf
|
|
+++ b/glycin-loaders/glycin-image-rs/glycin-image-rs.conf
|
|
@@ -51,7 +51,7 @@ Exec = @EXEC@
|
|
Exec = @EXEC@
|
|
Creator = true
|
|
|
|
-[loader:image/x-dds]
|
|
+[loader:image/vnd.ms-dds]
|
|
Exec = @EXEC@
|
|
|
|
[loader:image/bmp]
|
|
diff --git a/glycin-loaders/glycin-image-rs/glycin-image-rs.thumbnailer.in b/glycin-loaders/glycin-image-rs/glycin-image-rs.thumbnailer.in
|
|
index 53576c9..51de157 100644
|
|
--- a/glycin-loaders/glycin-image-rs/glycin-image-rs.thumbnailer.in
|
|
+++ b/glycin-loaders/glycin-image-rs/glycin-image-rs.thumbnailer.in
|
|
@@ -1,4 +1,4 @@
|
|
[Thumbnailer Entry]
|
|
TryExec=@BINDIR@/glycin-thumbnailer
|
|
Exec=@BINDIR@/glycin-thumbnailer --input %u --output %o --size %s
|
|
-MimeType=image/jpeg;image/png;image/apng;image/gif;image/webp;image/tiff;image/x-tga;image/vnd-ms.dds;image/x-dds;image/bmp;image/vnd.microsoft.icon;image/x-exr;image/x-portable-bitmap;image/x-portable-graymap;image/x-portable-pixmap;image/x-portable-anymap;image/x-qoi;image/qoi;
|
|
+MimeType=image/jpeg;image/png;image/apng;image/gif;image/webp;image/tiff;image/x-tga;image/vnd-ms.dds;image/vnd.ms-dds;image/bmp;image/vnd.microsoft.icon;image/x-exr;image/x-portable-bitmap;image/x-portable-graymap;image/x-portable-pixmap;image/x-portable-anymap;image/x-qoi;image/qoi;
|
|
diff --git a/glycin-loaders/glycin-image-rs/src/main.rs b/glycin-loaders/glycin-image-rs/src/main.rs
|
|
index 43e82eb..953a0ee 100644
|
|
--- a/glycin-loaders/glycin-image-rs/src/main.rs
|
|
+++ b/glycin-loaders/glycin-image-rs/src/main.rs
|
|
@@ -289,7 +289,7 @@ impl ImageRsFormat<Reader> {
|
|
))
|
|
.format_name("BMP")
|
|
.default_bit_depth(8),
|
|
- "image/x-dds" => Self::new(ImageRsDecoder::Dds(
|
|
+ "image/vnd.ms-dds" => Self::new(ImageRsDecoder::Dds(
|
|
codecs::dds::DdsDecoder::new(data).expected_error()?,
|
|
))
|
|
.format_name("DDS")
|