Viewer zoom and sharper tiles

Mouse wheel, trackpad and two-finger pinch zoom in the album viewer,
up to one image pixel per device pixel; drag pans while zoomed and
only the visible tiles of the needed level are loaded.

Default WebP quality raised to top 90, mid 88, low 88, with
smart_subsample for WebP tiles and the seed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
lucioandClaude Opus 5.5 committed 2026-11-04 20:56:12 -08:00
1 parent ae898a2787
commit aaf7cafdf9
9 files changed
+302 -18

No files matched your search

+5 -1
View File
@@ -113,11 +113,15 @@ func New(ctx context.Context, cfg *config.Config) (*Processor, error) {
}
img := cfg.Images
keySum := sha256.Sum256(key)
format := img.Format
if format == "webp" {
format += "+smart_subsample"
}
fingerprint := strings.Join([]string{
processorVersion,
"tile=" + strconv.Itoa(img.TileSize),
"overlap=" + strconv.Itoa(img.Overlap),
"format=" + img.Format,
"format=" + format,
fmt.Sprintf("q=%d,%d,%d", img.Quality.Top, img.Quality.Mid, img.Quality.Low),
"min_levels=" + strconv.Itoa(img.MinLevels),
"seed=" + strconv.Itoa(img.SeedPx),