feat(#3, #5): support image operations

This commit is contained in:
Tomas Aparicio 2015-03-30 02:41:16 +02:00
parent 63f4b01c8d
commit 61997bc68b
7 changed files with 107 additions and 53 deletions

View file

@ -8,7 +8,7 @@ import (
)
func TestResize(t *testing.T) {
options := Options{Width: 800, Height: 600, Crop: false}
options := Options{Width: 800, Height: 600, Crop: false, Rotate: 270}
img, err := os.Open("fixtures/space.jpg")
if err != nil {
t.Fatal(err)