A class to rotate images based on their orientation meta tag.