fop

package
v2.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Exif

type Exif struct{}

func (Exif) Call

func (this Exif) Call(l rpc.Logger, url string) (ret ExifRet, err error)

func (Exif) MakeRequest

func (this Exif) MakeRequest(url string) string

type ExifRet

type ExifRet map[string]ExifValType

type ExifValType

type ExifValType struct {
	Val  string `json:"val"`
	Type int    `json:"type"`
}

type ImageInfo

type ImageInfo struct{}

func (ImageInfo) Call

func (this ImageInfo) Call(l rpc.Logger, url string) (ret ImageInfoRet, err error)

func (ImageInfo) MakeRequest

func (this ImageInfo) MakeRequest(url string) string

type ImageInfoRet

type ImageInfoRet struct {
	Width      int
	Height     int
	Format     string
	ColorModel string
}

type ImageView

type ImageView struct {
	Mode    int    // 缩略模式
	Width   int    // Width = 0 表示不限定宽度
	Height  int    // Height = 0 表示不限定高度
	Quality int    // 质量, 1-100
	Format  string // 输出格式,如jpg, gif, png, tif等等
}

func (ImageView) MakeRequest

func (this ImageView) MakeRequest(url string) string

Jump to

Keyboard shortcuts

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