resources/images: Adjust WebP processing defaults
defaultWebpUseSharpYuv: true => false defaultWebpMethod: 4 => 2
@@ -1157,6 +1157,9 @@ config:
|
||||
misc:
|
||||
dir: :cacheDir/:project
|
||||
maxAge: -1
|
||||
modulegitinfo:
|
||||
dir: :cacheDir/modules
|
||||
maxAge: 24h
|
||||
modulequeries:
|
||||
dir: :cacheDir/modules
|
||||
maxAge: 24h
|
||||
@@ -1245,8 +1248,8 @@ config:
|
||||
quality: 75
|
||||
resampleFilter: box
|
||||
webp:
|
||||
method: 4
|
||||
useSharpYuv: true
|
||||
method: 2
|
||||
useSharpYuv: false
|
||||
languageCode: ''
|
||||
languages:
|
||||
en:
|
||||
@@ -2847,11 +2850,21 @@ tpl:
|
||||
- - '{{ hash.XxHash "The quick brown fox jumps over the lazy dog" }}'
|
||||
- 0b242d361fda71bc
|
||||
hugo:
|
||||
Data:
|
||||
Aliases: null
|
||||
Args: null
|
||||
Description: ''
|
||||
Examples: null
|
||||
Deps:
|
||||
Aliases: null
|
||||
Args: null
|
||||
Description: ''
|
||||
Examples: null
|
||||
Environment:
|
||||
Aliases: null
|
||||
Args: null
|
||||
Description: ''
|
||||
Examples: null
|
||||
Generator:
|
||||
Aliases: null
|
||||
Args: null
|
||||
@@ -2892,6 +2905,11 @@ tpl:
|
||||
Args: null
|
||||
Description: ''
|
||||
Examples: null
|
||||
Sites:
|
||||
Aliases: null
|
||||
Args: null
|
||||
Description: ''
|
||||
Examples: null
|
||||
Store:
|
||||
Aliases: null
|
||||
Args: null
|
||||
@@ -3871,6 +3889,11 @@ tpl:
|
||||
Args: null
|
||||
Description: ''
|
||||
Examples: null
|
||||
IsDefault:
|
||||
Aliases: null
|
||||
Args: null
|
||||
Description: ''
|
||||
Examples: null
|
||||
Key:
|
||||
Aliases: null
|
||||
Args: null
|
||||
|
||||
@@ -136,8 +136,8 @@ const (
|
||||
defaultBgColor = "#ffffff"
|
||||
defaultHint = "photo"
|
||||
defaultCompression = "lossy"
|
||||
defaultWebpUseSharpYuv = true
|
||||
defaultWebpMethod = 4
|
||||
defaultWebpUseSharpYuv = false
|
||||
defaultWebpMethod = 2
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -74,7 +74,7 @@ Colors: {{ $colors }}|
|
||||
cfg.NeedsOsFS = true
|
||||
cfg.WorkingDir = tempDir
|
||||
}))
|
||||
b.AssertFileContent("public/index.html", "Colors: [#2e2f34 #a39e94 #d29e58 #ab6b3a #747b84 #7c838a]|")
|
||||
b.AssertFileContent("public/index.html", "Colors: [#2e2f33 #a69e94 #d29d59 #a26a3f #747c83 #7b848b]|")
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 7.2 KiB After Width: | Height: | Size: 7.2 KiB |
|
Before Width: | Height: | Size: 59 KiB After Width: | Height: | Size: 58 KiB |
|
Before Width: | Height: | Size: 668 B After Width: | Height: | Size: 724 B |
|
Before Width: | Height: | Size: 7.6 KiB After Width: | Height: | Size: 8.4 KiB |
|
Before Width: | Height: | Size: 86 KiB After Width: | Height: | Size: 90 KiB |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.5 KiB |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.5 KiB |
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 59 KiB After Width: | Height: | Size: 58 KiB |
|
Before Width: | Height: | Size: 766 B After Width: | Height: | Size: 754 B |
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 7.7 KiB After Width: | Height: | Size: 7.5 KiB |
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 8.3 KiB After Width: | Height: | Size: 8.2 KiB |