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