processor

package
v0.1.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2026 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Processor

type Processor struct {
	Width        int
	Height       int
	Quality      int
	Format       string // "webp" or "jpg"
	SkipExisting bool
}

Processor handles image processing

func NewProcessor

func NewProcessor(width, height, quality int, format string, skipExisting bool) *Processor

NewProcessor creates a new processor

func (*Processor) ProcessFile

func (p *Processor) ProcessFile(srcPath, destDir string) error

ProcessFile processes a single file

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址