mirror of
https://github.com/talgo-cloud/bimg.git
synced 2026-03-15 02:15:54 -07:00
fix(#46): transform to proper image size
This commit is contained in:
parent
1287087a44
commit
0bff28381f
6 changed files with 100 additions and 53 deletions
|
|
@ -58,7 +58,7 @@ func TestVipsRotate(t *testing.T) {
|
|||
func TestVipsZoom(t *testing.T) {
|
||||
image, _, _ := vipsRead(readImage("test.jpg"))
|
||||
|
||||
newImg, err := vipsRotate(image, D90)
|
||||
newImg, err := vipsZoom(image, 1)
|
||||
if err != nil {
|
||||
t.Fatal("Cannot save the image")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue