mirror of
https://github.com/lovell/sharp.git
synced 2026-02-05 22:26:20 +01:00
Upgrade to libvips v8.9.0-rc4, drop support for Node.js 8
This commit is contained in:
@@ -197,7 +197,7 @@ namespace sharp {
|
||||
std::string const loader = load;
|
||||
if (EndsWith(loader, "JpegFile")) {
|
||||
imageType = ImageType::JPEG;
|
||||
} else if (EndsWith(loader, "Png")) {
|
||||
} else if (EndsWith(loader, "PngFile")) {
|
||||
imageType = ImageType::PNG;
|
||||
} else if (EndsWith(loader, "WebpFile")) {
|
||||
imageType = ImageType::WEBP;
|
||||
|
||||
Reference in New Issue
Block a user