mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
Ensure dimensions of final output image are provided (#399)
Add a failing test for vips::VError exception * fix buffer size mismatch * Loosen error message assertion * Update image
This commit is contained in:
committed by
Lovell Fuller
parent
f214269aa1
commit
ef61da3051
BIN
test/fixtures/flowers.jpeg
vendored
Normal file
BIN
test/fixtures/flowers.jpeg
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 83 KiB |
2
test/fixtures/index.js
vendored
2
test/fixtures/index.js
vendored
@@ -90,6 +90,8 @@ module.exports = {
|
||||
|
||||
inputSvs: getPath('CMU-1-Small-Region.svs'), // http://openslide.cs.cmu.edu/download/openslide-testdata/Aperio/CMU-1-Small-Region.svs
|
||||
|
||||
inputJPGBig: getPath('flowers.jpeg'),
|
||||
|
||||
outputJpg: getPath('output.jpg'),
|
||||
outputPng: getPath('output.png'),
|
||||
outputWebP: getPath('output.webp'),
|
||||
|
||||
Reference in New Issue
Block a user