Update inky_convert.sh to not mess up aspect ratio. It ends up with some things cropped, but that's usually better than squishing.
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
#!/bin/bash
|
||||
convert "$1" -resize '800x480!' -define modulate:colorspace=HSB -modulate 100,120 -level 2% -quality 60 -define jpeg:extent=120kb "${1%.*}.inky.jpeg"
|
||||
convert "$1" -resize '800x480^' -gravity center -extent '800x480' -define modulate:colorspace=HSB -modulate 100,120 -level 2% -quality 60 -define jpeg:extent=120kb "${1%.*}.inky.jpeg"
|
||||
|
||||
Reference in New Issue
Block a user