Add method to swap image height and width after 90 degree rotations. Add call to image width swap method in transforms for exif orientation codes 5, 6, 7, and 8.