imagewatermarkremove

package
v0.0.0-...-905ac7b Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageWatermarkRemoveData

type ImageWatermarkRemoveData struct {
	/**
	 * 去水印后图片Base64编码二进制
	 */
	Content string `json:"content"`
}

type ImageWatermarkRemoveRequest

type ImageWatermarkRemoveRequest struct {
	/**
	 * 图片二进制流,使用Base64编码 图片格式:JPG(JPEG),PNG 图片像素尺寸:最小48*48像素,最大4096*4096像素 图片文件大小:最大 5MB
	 */
	Content string `json:"content"`
	/**
	 * 水印位置列表
	 */
	Rects []Rects `json:"rects"`
}

func (*ImageWatermarkRemoveRequest) DoInvoke

type ImageWatermarkRemoveResponse

type ImageWatermarkRemoveResponse struct {
	Code    string                   `json:"code"`
	Msg     string                   `json:"msg"`
	Data    ImageWatermarkRemoveData `json:"data"`
	TraceId string                   `json:"traceId"`
}

func (*ImageWatermarkRemoveResponse) IsSuccess

func (response *ImageWatermarkRemoveResponse) IsSuccess() bool

type Rects

type Rects struct {
	/**
	 * x0, y0 是左上角坐标
	 */
	X0 string `json:"x0"`
	/**
	 * x0, y0 是左上角坐标
	 */
	Y0 string `json:"y0"`
	/**
	 * x1, y1 是右下角坐标
	 */
	X1 string `json:"x1"`
	/**
	 * x1, y1 是右下角坐标
	 */
	Y1 string `json:"y1"`
}

Jump to

Keyboard shortcuts

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