diff options
| author | Kumar Damani <me@kumardamani.net> | 2026-07-29 17:10:29 +0000 |
|---|---|---|
| committer | Kumar Damani <me@kumardamani.net> | 2026-07-29 17:10:29 +0000 |
| commit | 035e80d205bbb495038f79f8a6ca4b2eb9114921 (patch) | |
| tree | 7bacaf7497e193d83fef43f3157ca794ccfdcc6b | |
| parent | 564ab84af7f69603e3658bce846168f2cfb91249 (diff) | |
fix orientation in optimizer
| -rwxr-xr-x | optimize-images.sh | 2 | ||||
| -rw-r--r-- | post/a-rack-finally/switch-reset.webp | bin | 69938 -> 47516 bytes |
2 files changed, 1 insertions, 1 deletions
diff --git a/optimize-images.sh b/optimize-images.sh index c95da6e..baceda9 100755 --- a/optimize-images.sh +++ b/optimize-images.sh @@ -21,7 +21,7 @@ dir="${1%/}" shopt -s nullglob nocaseglob for file in "$dir"/*.jpg "$dir"/*.jpeg "$dir"/*.png; do - magick "$file" -resize '1200x800>' -quality 80 "${file%.*}.webp" + magick "$file" -auto-orient -resize '1200x800>' -quality 80 "${file%.*}.webp" rm "$file" echo "$file -> ${file%.*}.webp" done diff --git a/post/a-rack-finally/switch-reset.webp b/post/a-rack-finally/switch-reset.webp Binary files differindex d4c1311..21808ce 100644 --- a/post/a-rack-finally/switch-reset.webp +++ b/post/a-rack-finally/switch-reset.webp |
