(my screen size is 1600 x 900)
Code: Select all
W=1600
H=900
w=$((W/2))
h=$((H/2))
import -w root -crop +${w}-$h +repage TopLeftCorner.png
Code: Select all
W=1600
H=900
w=$((W/2))
h=$((H/2))
import -w root -crop +${w}-$h +repage TopLeftCorner.png
Code: Select all
convert input_image -auto-orient -thumbnail '800x600>' output_image
Code: Select all
du
Code: Select all
du -k "your test file here"