Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrUpscaleNotAllowed = errors.New("upscaling is not allowed")
)
Functions ¶
This section is empty.
Types ¶
type Image ¶
type Image struct {
// contains filtered or unexported fields
}
Image is used for image manipulation
func NewFromBytes ¶
NewFromBytes returns image from bytes slice
func (*Image) ResizeToFit ¶
ResizeToFit resize image to fit width,height Warning: upscaling not allowed
Click to show internal directories.
Click to hide internal directories.