From 8ff33763ce15c685448de452fe9622a4f45eee51 Mon Sep 17 00:00:00 2001 From: Lovell Fuller Date: Fri, 8 Jul 2022 22:25:39 +0100 Subject: [PATCH] Ensure OpenSlide+FITS input works with custom libvips #3226 --- docs/changelog.md | 3 +++ src/common.cc | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/changelog.md b/docs/changelog.md index d501190a..4a2a68ab 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -17,6 +17,9 @@ Requires libvips v8.13.0 * Add support for WebP and PackBits `compression` options with TIFF output. [#3198](https://github.com/lovell/sharp/issues/3198) +* Ensure OpenSlide and FITS input works with custom libvips. + [#3226](https://github.com/lovell/sharp/issues/3226) + * Ensure `trim` operation is a no-op when it would reduce an image to nothing. [#3223](https://github.com/lovell/sharp/issues/3223) diff --git a/src/common.cc b/src/common.cc index 307549b3..924353c7 100644 --- a/src/common.cc +++ b/src/common.cc @@ -250,9 +250,9 @@ namespace sharp { { "VipsForeignLoadMagickBuffer", ImageType::MAGICK }, { "VipsForeignLoadMagick7File", ImageType::MAGICK }, { "VipsForeignLoadMagick7Buffer", ImageType::MAGICK }, - { "VipsForeignLoadOpenslide", ImageType::OPENSLIDE }, + { "VipsForeignLoadOpenslideFile", ImageType::OPENSLIDE }, { "VipsForeignLoadPpmFile", ImageType::PPM }, - { "VipsForeignLoadFits", ImageType::FITS }, + { "VipsForeignLoadFitsFile", ImageType::FITS }, { "VipsForeignLoadOpenexr", ImageType::EXR }, { "VipsForeignLoadVips", ImageType::VIPS }, { "VipsForeignLoadVipsFile", ImageType::VIPS },