Add cropall.py for wallpaper resizing

This commit is contained in:
lhark 2019-03-23 22:49:22 -04:00
parent a6bc21c14d
commit 0d66bd4840

10
how_to
View file

@ -138,6 +138,16 @@ ACPI GTX960M bug:
Wallpapers : Wallpapers :
Find wallpapers with wrong dimensions: Find wallpapers with wrong dimensions:
identify *.{png,jpg,jpeg} | awk '{if ($3 != "1920x1080") {print $1}}' | xargs mv -t wrong-size identify *.{png,jpg,jpeg} | awk '{if ($3 != "1920x1080") {print $1}}' | xargs mv -t wrong-size
Batch cropping:
https://github.com/pknowles/cropall
./cropall.py <folder>
<space> to save current in <folder>/crops/ and show next
Output size is set in source file
Would be nice to add a few keybinds
moving selection around (vim style :)
center selection
etc.
Drag & drop files: Drag & drop files:
dragon : https://github.com/mwh/dragon dragon : https://github.com/mwh/dragon