Now that rust-qoi is packaged and qoi support enabled in rust-image, we can enable it here as well.
50 lines
2.3 KiB
Diff
50 lines
2.3 KiB
Diff
--- glycin-loaders-0.1.beta.4/loaders/glycin-image-rs/src/bin/glycin-image-rs.rs.orig 2023-08-23 17:12:04.000000000 +0200
|
|
+++ glycin-loaders-0.1.beta.4/loaders/glycin-image-rs/src/bin/glycin-image-rs.rs 2023-08-23 20:42:56.478983578 +0200
|
|
@@ -141,7 +141,6 @@
|
|
//Hdr(codecs::hdr::HdrDecoder<T>),
|
|
Ico(codecs::ico::IcoDecoder<T>),
|
|
Jpeg(codecs::jpeg::JpegDecoder<T>),
|
|
- OpenExr(codecs::openexr::OpenExrDecoder<T>),
|
|
Png(codecs::png::PngDecoder<T>),
|
|
Pnm(codecs::pnm::PnmDecoder<T>),
|
|
Qoi(codecs::qoi::QoiDecoder<T>),
|
|
@@ -164,9 +163,6 @@
|
|
Self::Ico(codecs::ico::IcoDecoder::new(data).context_failed()?)
|
|
}
|
|
"image/jpeg" => Self::Jpeg(codecs::jpeg::JpegDecoder::new(data).context_failed()?),
|
|
- "image/x-exr" => {
|
|
- Self::OpenExr(codecs::openexr::OpenExrDecoder::new(data).context_failed()?)
|
|
- }
|
|
"image/png" => Self::Png(codecs::png::PngDecoder::new(data).context_failed()?),
|
|
"image/x-portable-bitmap"
|
|
| "image/x-portable-graymap"
|
|
@@ -196,7 +192,6 @@
|
|
//Self::Hdr(d) => ImageInfo::from_decoder(d, "Radiance HDR"),
|
|
Self::Ico(d) => ImageInfo::from_decoder(d, "ICO"),
|
|
Self::Jpeg(d) => ImageInfo::from_decoder(d, "JPEG"),
|
|
- Self::OpenExr(d) => ImageInfo::from_decoder(d, "OpenEXR"),
|
|
Self::Png(d) => ImageInfo::from_decoder(d, "PNG"),
|
|
Self::Pnm(d) => ImageInfo::from_decoder(d, "PNM"),
|
|
Self::Qoi(d) => ImageInfo::from_decoder(d, "QOI"),
|
|
@@ -215,7 +210,6 @@
|
|
//Self::Hdr(d) => Frame::from_decoder(d),
|
|
Self::Ico(d) => Frame::from_decoder(d),
|
|
Self::Jpeg(d) => Frame::from_decoder(d),
|
|
- Self::OpenExr(d) => Frame::from_decoder(d),
|
|
Self::Png(d) => Frame::from_decoder(d),
|
|
Self::Pnm(d) => Frame::from_decoder(d),
|
|
Self::Qoi(d) => Frame::from_decoder(d),
|
|
--- glycin-loaders-0.1.beta.4/loaders/glycin-image-rs/glycin-image-rs.conf.orig 2023-08-23 17:12:04.000000000 +0200
|
|
+++ glycin-loaders-0.1.beta.4/loaders/glycin-image-rs/glycin-image-rs.conf 2023-08-23 20:43:10.663228296 +0200
|
|
@@ -36,10 +36,6 @@
|
|
#[loader:image/vnd.radiance]
|
|
#Exec = @EXEC@
|
|
|
|
-# OpenEXR
|
|
-[loader:image/x-exr]
|
|
-Exec = @EXEC@
|
|
-
|
|
# PNM
|
|
[loader:image/x-portable-bitmap]
|
|
Exec = @EXEC@
|