Don't re-encode small images to WebP unnecessarily — just return the original buffer for tiers where the source is already smaller than target.
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.