Documentation ¶
Index ¶
- func Custom(responseWriter http.ResponseWriter, request *http.Request)
- func Extend(responseWriter http.ResponseWriter, request *http.Request)
- func ImageFormat(responseWriter http.ResponseWriter, request *http.Request)
- func OilPaint(responseWriter http.ResponseWriter, request *http.Request)
- func Reflect(responseWriter http.ResponseWriter, request *http.Request)
- func Resize(responseWriter http.ResponseWriter, request *http.Request)
- func Transparent(responseWriter http.ResponseWriter, request *http.Request)
- type CustomArgs
- type Function
- type ImageMagick
- type Message
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ImageFormat ¶
func ImageFormat(responseWriter http.ResponseWriter, request *http.Request)
ImageFormat conversion
func OilPaint ¶
func OilPaint(responseWriter http.ResponseWriter, request *http.Request)
OilPaint image
func Reflect ¶
func Reflect(responseWriter http.ResponseWriter, request *http.Request)
Reflect image
func Transparent ¶
func Transparent(responseWriter http.ResponseWriter, request *http.Request)
Transparent Image
Types ¶
type CustomArgs ¶
type CustomArgs struct { InputImage string `json:"input,omitempty"` CustomInput []Function `json:"customizeInput,omitempty"` }
CustomArgs struct
type Function ¶
type Function struct { Name string `json:"name,omitempty"` Height int `json:"height,omitempty"` Width int `json:"width,omitempty"` BackgroundColour string `json:"backgroundColour,omitempty"` Radius float64 `json:"radius,omitempty"` }
Function struct
type ImageMagick ¶
type ImageMagick struct { InputImage string `json:"input,omitempty"` Height int `json:"height,omitempty"` Width int `json:"width,omitempty"` Colour string `json:"backgroundColour,omitempty"` TransparentColour string `json:"transparentColour,omitempty"` OutputExtension string `json:"outputExtension,omitempty"` InputExtension string `json:"inputExtension,omitempty"` Radius float64 `json:"radius,omitempty"` }
ImageMagick struct
Click to show internal directories.
Click to hide internal directories.