Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageManager ¶
type ImageManager struct {
// contains filtered or unexported fields
}
func NewImageManager ¶
func NewImageManager(targetDir string) *ImageManager
func (ImageManager) ProcessImage ¶
func (im ImageManager) ProcessImage(source []byte, processingJobs ...*ImageProcessJob) (guids []uuid.UUID, err error)
func (ImageManager) ProcessImageAs16by9 ¶
func (im ImageManager) ProcessImageAs16by9(source []byte) (guids []uuid.UUID, err error)
func (ImageManager) ProcessImageAsSquare ¶
func (im ImageManager) ProcessImageAsSquare(source []byte) (guids []uuid.UUID, err error)
type ImageProcessJob ¶
func NewImageProcessJob ¶
func NewImageProcessJob(width int, height int, anchor imaging.Anchor) *ImageProcessJob
Click to show internal directories.
Click to hide internal directories.