Documentation ¶
Index ¶
- func GetFileSize(filename string) (int64, error)
- func GetProjectDir(filePath string) string
- func ReduceImage(filePath string, sizeLimit int64) (int64, int, error)
- func ReduceJPG(nameIn, nameOut string, limitSize int64) (int64, int, error)
- func ReducePNG(nameIn, nameOut string, limitSize int64) (int64, int, error)
- type ITagname
- type TKey
- func (o *TKey) Base() string
- func (o *TKey) Data() *TKeyData
- func (o *TKey) Hash() string
- func (o *TKey) Len() int
- func (o *TKey) Name() string
- func (o *TKey) NextLevel() bool
- func (o *TKey) ProjectDir() string
- func (o *TKey) Segment(n int) (string, bool)
- func (o *TKey) Size() string
- func (o *TKey) String() string
- type TKeyData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFileSize ¶
func GetProjectDir ¶
func ReduceImage ¶
ReduceImage - returns outputSize, q, error
Types ¶
Click to show internal directories.
Click to hide internal directories.