mirror of
https://github.com/lovell/sharp.git
synced 2026-02-07 15:16:17 +01:00
Support old and new Magick loader class names
See jcupitt/libvips@99b4bcb
This commit is contained in:
@@ -80,7 +80,7 @@ namespace sharp {
|
|||||||
imageType = ImageType::OPENSLIDE;
|
imageType = ImageType::OPENSLIDE;
|
||||||
} else if (EndsWith(loader, "TiffFile")) {
|
} else if (EndsWith(loader, "TiffFile")) {
|
||||||
imageType = ImageType::TIFF;
|
imageType = ImageType::TIFF;
|
||||||
} else if (EndsWith(loader, "MagickFile")) {
|
} else if (EndsWith(loader, "Magick") || EndsWith(loader, "MagickFile")) {
|
||||||
imageType = ImageType::MAGICK;
|
imageType = ImageType::MAGICK;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user