Rotate the image before returning it to the requestor.