Documentation ¶
Overview ¶
Load thumbnail handlers
Index ¶
- Constants
- func CompositeIcons(icons []string, bg, dest string, iconSize, width, height, padding int) error
- func GetBackground(width, height int) (string, error)
- func GetThumbnailDest(uri string, width, height int) (string, error)
- func GetTmpImage() string
- func IsStrInList(item string, items []string) bool
- func Register(ty string, handler HandleType)
- func ScaleImage(src, dest string, width, height int) error
- func ThumbnailImage(src, dest string, width, height int) error
- type HandleType
- type Manager
Constants ¶
View Source
const ( SizeFlagLarge int = 256 SizeFlagNormal = 128 SizeFlagSmall = 64 )
Variables ¶
This section is empty.
Functions ¶
func CompositeIcons ¶
func GetBackground ¶
func GetTmpImage ¶
func GetTmpImage() string
func IsStrInList ¶
func Register ¶
func Register(ty string, handler HandleType)
func ScaleImage ¶
func ThumbnailImage ¶
Types ¶
type HandleType ¶
args: src, bg, width, height, force rets: dest, error
func GetHandler ¶
func GetHandler(ty string) (HandleType, error)
Click to show internal directories.
Click to hide internal directories.