From 1bcb2a82e18ae5ea08e26d960ffd940a97dbc26e Mon Sep 17 00:00:00 2001 From: Tomas Aparicio Date: Sat, 30 Jan 2016 16:33:25 +0000 Subject: [PATCH] feat(docs): add rotate param in endpoints --- README.md | 8 ++++++++ options.go | 1 - 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 60abf0b..b1df813 100644 --- a/README.md +++ b/README.md @@ -440,6 +440,7 @@ Crop the image by a given width or height. Image ratio is maintained - file `string` - Only GET method and if the `-mount` flag is present - url `string` - Only GET method and if the `-enable-url-source` flag is present - force `bool` +- rotate `int` - norotation `bool` - noprofile `bool` - colorspace `string` @@ -461,6 +462,7 @@ Resize an image by width or height. Image aspect ratio is maintained - file `string` - Only GET method and if the `-mount` flag is present - url `string` - Only GET method and if the `-enable-url-source` flag is present - force `bool` +- rotate `int` - norotation `bool` - noprofile `bool` - colorspace `string` @@ -479,6 +481,7 @@ Accepts: `image/*, multipart/form-data`. Content-Type: `image/*` - file `string` - Only GET method and if the `-mount` flag is present - url `string` - Only GET method and if the `-enable-url-source` flag is present - force `bool` +- rotate `int` - norotation `bool` - noprofile `bool` - colorspace `string` @@ -501,6 +504,7 @@ Accepts: `image/*, multipart/form-data`. Content-Type: `image/*` - file `string` - Only GET method and if the `-mount` flag is present - url `string` - Only GET method and if the `-enable-url-source` flag is present - force `bool` +- rotate `int` - norotation `bool` - noprofile `bool` - colorspace `string` @@ -520,6 +524,7 @@ Accepts: `image/*, multipart/form-data`. Content-Type: `image/*` - file `string` - Only GET method and if the `-mount` flag is present - url `string` - Only GET method and if the `-enable-url-source` flag is present - force `bool` +- rotate `int` - norotation `bool` - noprofile `bool` - colorspace `string` @@ -538,6 +543,7 @@ Accepts: `image/*, multipart/form-data`. Content-Type: `image/*` - file `string` - Only GET method and if the `-mount` flag is present - url `string` - Only GET method and if the `-enable-url-source` flag is present - force `bool` +- rotate `int` - norotation `bool` - noprofile `bool` - colorspace `string` @@ -609,6 +615,7 @@ Accepts: `image/*, multipart/form-data`. Content-Type: `image/*` - file `string` - Only GET method and if the `-mount` flag is present - url `string` - Only GET method and if the `-enable-url-source` flag is present - force `bool` +- rotate `int` - norotation `bool` - noprofile `bool` - colorspace `string` @@ -633,6 +640,7 @@ Accepts: `image/*, multipart/form-data`. Content-Type: `image/*` - file `string` - Only GET method and if the `-mount` flag is present - url `string` - Only GET method and if the `-enable-url-source` flag is present - force `bool` +- rotate `int` - norotation `bool` - noprofile `bool` - colorspace `string` diff --git a/options.go b/options.go index 505d2b5..0f0b53c 100644 --- a/options.go +++ b/options.go @@ -33,7 +33,6 @@ type ImageOptions struct { // BimgOptions creates a new bimg compatible options struct mapping the fields properly func BimgOptions(o ImageOptions) bimg.Options { - debug("Options: %#v", o) return bimg.Options{ Width: o.Width, Height: o.Height,