Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Property ¶
Property : property of the version of an image.
func (*Property) DefineNameAndPaths ¶
func (p *Property) DefineNameAndPaths(filename, fileExtension, suffixVersion, suffixSize, directoryDest string)
DefineNameAndPaths : defines the name and the paths of the image.
type Versions ¶
Versions : different versions of an image.
func NewVersions ¶
func NewVersions(src string, width, height int, directoryDest string, saveSmallVersion, saveThumbVersion bool) *Versions
NewVersions : returns a new NewVersions struct.
func SaveFill ¶
func SaveFill(src, directoryDest string, width, height int, saveSmallVersion, saveThumbVersion bool) (*Versions, error)
SaveFill : saves different versions of an image to destination.
Click to show internal directories.
Click to hide internal directories.