Created
December 1, 2022 09:28
-
-
Save slamer59/c6e94a8484a33a13673e0163708cbc1a to your computer and use it in GitHub Desktop.
Conversion image en carré
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . -name "*.*" -exec convert "{}" -set option:distort:viewport "%[fx:max(w,h)]x%[fx:max(w,h)]+%[fx:(w-max(w,h))/2]+%[fx:(h-max(w,h))/2]" -virtual-pixel transparent -filter point -distort SRT 0 +repage "{}" \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment