fix(#46): transform to proper image size

This commit is contained in:
Tomas Aparicio 2015-07-11 19:45:10 +01:00
parent 1287087a44
commit 0bff28381f
6 changed files with 100 additions and 53 deletions

View file

@ -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")
}