Right now, rotations are not being loaded from the metadata, so, to fix this, I have to:
1) Implement a method to extract rotations from metadata
2) Implement a method to save rotations in metadata
3) Use it in the Cairo Picture WIdget (I need a new name for that widget hehe)
For other kind of editions that can't be saved in the metadata is more work, because I think it's not that easy as editing a pixbuf and save it, becuse the metadata will be lost (not sure of this). So, a solution is to implement a save() method in Photo.vala that extract all the metadata, replaces the file and then asign the extracted metadata to the new file.
Right now, rotations are not being loaded from the metadata, so, to fix this, I have to:
1) Implement a method to extract rotations from metadata
2) Implement a method to save rotations in metadata
3) Use it in the Cairo Picture WIdget (I need a new name for that widget hehe)
For other kind of editions that can't be saved in the metadata is more work, because I think it's not that easy as editing a pixbuf and save it, becuse the metadata will be lost (not sure of this). So, a solution is to implement a save() method in Photo.vala that extract all the metadata, replaces the file and then asign the extracted metadata to the new file.