Crop image to square shape
This commit is contained in:
parent
329c96e2c7
commit
0d77c38658
4 changed files with 1 additions and 1 deletions
|
@ -1,2 +1,2 @@
|
|||
#!/usr/bin/env sh
|
||||
convert "$1" -geometry 384x384^ "${1%.*}.webp"
|
||||
convert "$1" -geometry "384x384^" -gravity center -crop "384x384+0+0" "${1%.*}.webp"
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 64 KiB After Width: | Height: | Size: 51 KiB |
Binary file not shown.
Before Width: | Height: | Size: 196 KiB After Width: | Height: | Size: 152 KiB |
Binary file not shown.
Before Width: | Height: | Size: 117 KiB After Width: | Height: | Size: 94 KiB |
Loading…
Reference in a new issue