From 751877b4720ee09b5ab8e64e57633f745e0372ca Mon Sep 17 00:00:00 2001 From: David Vogel Date: Thu, 8 Feb 2024 21:07:42 +0100 Subject: [PATCH] Fix typo in stitcher flag `wepb-level` --> `webp-level` --- bin/stitch/README.md | 2 +- bin/stitch/main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/stitch/README.md b/bin/stitch/README.md index ffc4413..c654820 100644 --- a/bin/stitch/README.md +++ b/bin/stitch/README.md @@ -48,7 +48,7 @@ example list of files: The size of the resulting deep zoom image (DZI) tiles in pixels. Defaults to 512. - `dzi-tile-overlap` The number of additional pixels around every deep zoom image (DZI) tile. Defaults to 2. - - `wepb-level` + - `webp-level` Compression level of WebP files, from 0 (fast) to 9 (slow, best compression). Defaults to 8. - `xmax int` Right bound of the output rectangle. This coordinate is not included in the output. diff --git a/bin/stitch/main.go b/bin/stitch/main.go index 6580482..d8d76d4 100644 --- a/bin/stitch/main.go +++ b/bin/stitch/main.go @@ -26,7 +26,7 @@ var flagScaleDivider = flag.Int("divide", 1, "A downscaling factor. 2 will produ var flagBlendTileLimit = flag.Int("blend-tile-limit", 9, "Limits median blending to the n newest tiles by file modification time. If set to 0, all available tiles will be median blended.") var flagDZITileSize = flag.Int("dzi-tile-size", 512, "The size of the resulting deep zoom image (DZI) tiles in pixels.") var flagDZIOverlap = flag.Int("dzi-tile-overlap", 2, "The number of additional pixels around every deep zoom image (DZI) tile.") -var flagWebPLevel = flag.Int("wepb-level", 8, "Compression level of WebP files, from 0 (fast) to 9 (slow, best compression).") +var flagWebPLevel = flag.Int("webp-level", 8, "Compression level of WebP files, from 0 (fast) to 9 (slow, best compression).") var flagXMin = flag.Int("xmin", 0, "Left bound of the output rectangle. This coordinate is included in the output.") var flagYMin = flag.Int("ymin", 0, "Upper bound of the output rectangle. This coordinate is included in the output.") var flagXMax = flag.Int("xmax", 0, "Right bound of the output rectangle. This coordinate is not included in the output.")