Setting image orientation exif data using imagemagick
<p>I have a set of images with corrupt exif orientation data. I would like to change the orientation of these images using imagemagick. I found the following command <code>mogrify -set "%[EXIF:Orientation]" BottomRight image.jpg</code> but it does not seem to work when I inspect the image using <code>Identify -verbose image.jpg</code> the orientation data is Undefined.</p>