Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileHandler ¶
type ImageProcessor ¶
type ImageProcessor struct {
Watermark image.Image
OutputDir string
Config *config.Config
WatermarkMode string
FileHandler FileHandler
}
func NewImageProcessor ¶
func NewImageProcessor(watermarkPath string, cfg *config.Config, fileHandler FileHandler) (*ImageProcessor, error)
func (*ImageProcessor) ProcessFolder ¶
func (p *ImageProcessor) ProcessFolder(imageDir, outputFormat string, progress ProgressCallback) error
Click to show internal directories.
Click to hide internal directories.