From: Bjørn Erik Pedersen Date: Wed, 28 Jan 2026 07:41:23 +0000 (+0100) Subject: resources/images: Fix comment for Quality field in ImageConfig X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=fd49df8f7a1152a6d303701a92d882a6d82dfce1;p=brevno-suite%2Fhugo resources/images: Fix comment for Quality field in ImageConfig --- diff --git a/resources/images/config.go b/resources/images/config.go index c4e5f0c29..1a30f3c08 100644 --- a/resources/images/config.go +++ b/resources/images/config.go @@ -366,9 +366,9 @@ type ImageConfig struct { // If set, this will be used as the key in filenames etc. Key string - // Quality ranges from 0 to 100 inclusive, higher is better. + // Quality ranges from 1 to 100 inclusive, higher is better. // This is only relevant for JPEG and WEBP images. - // For WebP, 0 means lossless. + // For WEBP it's only relevant for lossy encoding. // Default is 75. Quality int