Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageLoader ¶
type ImageLoader struct{}
ImageLoader loads images from the filesystem.
func (*ImageLoader) Load ¶
func (l *ImageLoader) Load(path string) (*domain.ImageEntity, error)
Load reads and decodes an image file. Supports PNG, JPEG, GIF, BMP, TIFF, WebP via image.Decode.
Click to show internal directories.
Click to hide internal directories.