fix: Ensure resizeImage's canvas has at least 1px of width and height (#2409)

* ensure resizeImage canvas has > 0 width, height

* add tests for sliver background images
This commit is contained in:
Chang Wang
2021-07-04 01:40:25 -04:00
committed by GitHub
parent b09ee30dae
commit bb9237155c
3 changed files with 9 additions and 2 deletions

BIN
tests/assets/bg-sliver.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 190 B