Comment 6 for bug 1272122

Revision history for this message
Robert Lyon (robertl-9) wrote :

There is some discussion about achieving this in the forums -
https://mahara.org/interaction/forum/topic.php?id=7541&offset=0&limit=10#post31336

Which mentions what is needed to achieve this basic concept
http://stackoverflow.com/questions/11259881/how-to-rotate-image-and-save-the-image

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.