Documentation ¶
Index ¶
- Constants
- type Image
- func FromBytes(bts []byte) (*Image, error)
- func FromFile(file string) (*Image, error)
- func FromReader(reader io.Reader) (*Image, error)
- func FromUrl(link string) (*Image, error)
- func MustFromBytes(bts []byte) *Image
- func MustFromFile(file string) *Image
- func MustFromReader(reader io.Reader) *Image
- func MustFromUrl(link string) *Image
- type Size
Constants ¶
View Source
const ( MaxSize = 4096 MinSize = 15 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Image ¶
func MustFromBytes ¶
func MustFromFile ¶
func MustFromReader ¶
func MustFromUrl ¶
func (*Image) Base64Encode ¶
Click to show internal directories.
Click to hide internal directories.