Adding rotation of ImageType