imagemagick

package
v0.0.0-...-66f208e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Custom

func Custom(responseWriter http.ResponseWriter, request *http.Request)

Custom image

func Extend

func Extend(responseWriter http.ResponseWriter, request *http.Request)

Extend image

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 Resize

func Resize(responseWriter http.ResponseWriter, request *http.Request)

Resize 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

type Message

type Message struct {
	Success    string `json:"success"`
	Message    string `json:"output"`
	StatusCode int    `json:"statusCode"`
}

Message struct

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL