added mogrify auto orient