Commit Graph
2 Commits
Author SHA1 Message Date
Hiren Kangad 02a04d6e24 fix(refboard): reuse full image for LOD tiers when source is smaller
Don't re-encode small images to WebP unnecessarily — just return the
original buffer for tiers where the source is already smaller than target.
2026-03-09 22:57:10 +05:30
Hiren Kangad e43f8eff07 Add LOD generator service for 3-tier image generation
Sharp-based service that produces thumb (256px), medium (1024px),
and full (pass-through) tiers from an uploaded image buffer.
Skips upscaling when the source is smaller than a tier's width.
2026-03-09 22:55:48 +05:30