Things we would have to deal with in Mahara:
1) Should the rotated image overwrite the original or be a copy of original?
2) Should we allow rotation of image after it's been added to a page / as attachment to something?
3) What file formats should be allowed to rotate? PHP has inbuilt handling for jpeg / gif / png formats only
4) Clearing any cache / resizing of original image if we rotate it
5) Dealing with a temporary saving of rotated image before saving in case user wants to cancel the rotation.
There is some discussion about achieving this in the forums - /mahara. org/interaction /forum/ topic.php? id=7541& offset= 0&limit= 10#post31336
https:/
Which mentions what is needed to achieve this basic concept stackoverflow. com/questions/ 11259881/ how-to- rotate- image-and- save-the- image
http://
Things we would have to deal with in Mahara:
1) Should the rotated image overwrite the original or be a copy of original?
2) Should we allow rotation of image after it's been added to a page / as attachment to something?
3) What file formats should be allowed to rotate? PHP has inbuilt handling for jpeg / gif / png formats only
4) Clearing any cache / resizing of original image if we rotate it
5) Dealing with a temporary saving of rotated image before saving in case user wants to cancel the rotation.