mirror of
https://github.com/lovell/sharp.git
synced 2026-02-05 22:26:20 +01:00
Upgrade to libvips v8.7.0
Drop Node 4 support Add experimental musl prebuild for Node 8 and 10
This commit is contained in:
@@ -370,10 +370,6 @@ namespace sharp {
|
||||
if (image.width() > 65535 || image.height() > 65535) {
|
||||
throw vips::VError("Processed image is too large for the JPEG format");
|
||||
}
|
||||
} else if (imageType == ImageType::PNG) {
|
||||
if (image.width() > 2147483647 || image.height() > 2147483647) {
|
||||
throw vips::VError("Processed image is too large for the PNG format");
|
||||
}
|
||||
} else if (imageType == ImageType::WEBP) {
|
||||
if (image.width() > 16383 || image.height() > 16383) {
|
||||
throw vips::VError("Processed image is too large for the WebP format");
|
||||
|
||||
Reference in New Issue
Block a user