diff options
| author | 2025-07-15 12:43:28 +0700 | |
|---|---|---|
| committer | 2025-07-15 12:43:28 +0700 | |
| commit | 373ec07b40178cb3b704aa83fc4fd53abfe279bc (patch) | |
| tree | dcadacab21909195fbe660f105f060f4e6f686ce /config/config.json | |
| parent | 6fef5c8ea06b0b25542afc65b412c75aa3d879a2 (diff) | |
| download | thumbnail-generator-373ec07b40178cb3b704aa83fc4fd53abfe279bc.tar.gz thumbnail-generator-373ec07b40178cb3b704aa83fc4fd53abfe279bc.zip | |
feat: prepare all internal pkg (input/output client & processor)
Diffstat (limited to 'config/config.json')
| -rw-r--r-- | config/config.json | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/config/config.json b/config/config.json index d818107..298a03f 100644 --- a/config/config.json +++ b/config/config.json @@ -9,6 +9,21 @@ "KeyID": "${B2_KEY_ID}", "ApplicationKey": "${B2_APPLICATION_KEY}" } + }, + "KnownExtensions": [ + "jpg", + "jpeg", + "png" + ] + }, + "Processor": { + "Type": "webp", + "Config": { + "Quality": 80, + "Size": { + "MaxWidth": 1280, + "MaxHeight": 0 + } } }, "Output": { @@ -21,11 +36,6 @@ "KeyID": "${B2_KEY_ID}", "ApplicationKey": "${B2_APPLICATION_KEY}" } - }, - "Quality": 80, - "Size": { - "MaxWidth": 1280, - "MaxHeight": 0 } } -}
\ No newline at end of file +} |