handler

package
v0.0.0-...-67d91c4 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Barcode

func Barcode(w http.ResponseWriter, r *http.Request)

生成条形码 Barcode

func BarcodeRecognition

func BarcodeRecognition(w http.ResponseWriter, r *http.Request)

识别条形码 BarcodeRecognition

func Hello

func Hello(w http.ResponseWriter, r *http.Request)

func ImageCompress

func ImageCompress(w http.ResponseWriter, r *http.Request)

func ImageCompressBase64

func ImageCompressBase64(w http.ResponseWriter, r *http.Request)

func ImageInfo

func ImageInfo(w http.ResponseWriter, r *http.Request)

func Img2Gif

func Img2Gif(w http.ResponseWriter, r *http.Request)

func Img2Txt

func Img2Txt(w http.ResponseWriter, r *http.Request)

func ImgAlpha

func ImgAlpha(w http.ResponseWriter, r *http.Request)

func ImgCenter

func ImgCenter(w http.ResponseWriter, r *http.Request)

func ImgClipper

func ImgClipper(w http.ResponseWriter, r *http.Request)

平均裁剪成多份 偶数份

func ImgClipperRectangle

func ImgClipperRectangle(w http.ResponseWriter, r *http.Request)

按坐标矩形裁剪 x1,y1,x2,y2

func ImgClipperRound

func ImgClipperRound(w http.ResponseWriter, r *http.Request)

按坐标,半径圆形裁剪 x,y,r

func ImgGray

func ImgGray(w http.ResponseWriter, r *http.Request)

func ImgInvert

func ImgInvert(w http.ResponseWriter, r *http.Request)

func ImgRevolve

func ImgRevolve(w http.ResponseWriter, r *http.Request)

func ImgStitching

func ImgStitching(w http.ResponseWriter, r *http.Request)

func ImgSudoku

func ImgSudoku(w http.ResponseWriter, r *http.Request)

func QRCode

func QRCode(w http.ResponseWriter, r *http.Request)

生成二维码 QRCode

func QRCodeRecognition

func QRCodeRecognition(w http.ResponseWriter, r *http.Request)

识别二维码 QRCodeRecognition

func Txt2Img

func Txt2Img(w http.ResponseWriter, r *http.Request)
func WatermarkLogo(w http.ResponseWriter, r *http.Request)

添加水印 - 图片水印 WatermarkLogo

func WatermarkTxt

func WatermarkTxt(w http.ResponseWriter, r *http.Request)

添加水印 - 文字水印 WatermarkTxt

Types

type ImageInfoBody

type ImageInfoBody struct {
	Name   string `json:"name"`
	Size   int64  `json:"size"`
	Type   string `json:"type"`
	Width  int    `json:"width"`
	Height int    `json:"height"`
	Dpi    string `json:"dpi"`
	IsEXIF bool   `json:"is_exif"`
}

Jump to

Keyboard shortcuts

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