Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ExtNotSupported = errors.New("ext is not supported")
)
Functions ¶
This section is empty.
Types ¶
type ImageScale ¶
type ImageScale struct {
// contains filtered or unexported fields
}
func NewImageScale ¶
func NewImageScale() *ImageScale
func (*ImageScale) Build ¶
func (v *ImageScale) Build(filename string, scale, thumb int) (*ImageInfo, error)
func (*ImageScale) SetFolder ¶
func (v *ImageScale) SetFolder(dir string) error
Click to show internal directories.
Click to hide internal directories.