{"action":"created","issue":{"url":"https://api.github.com/repos/mate-desktop/eom/issues/173","repository_url":"https://api.github.com/repos/mate-desktop/eom","labels_url":"https://api.github.com/repos/mate-desktop/eom/issues/173/labels{/name}","comments_url":"https://api.github.com/repos/mate-desktop/eom/issues/173/comments","events_url":"https://api.github.com/repos/mate-desktop/eom/issues/173/events","html_url":"https://github.com/mate-desktop/eom/issues/173","id":339211682,"node_id":"MDU6SXNzdWUzMzkyMTE2ODI=","number":173,"title":"EOM doesn't rotate Exif thumbnail","user":{"login":"cykerway","id":392675,"node_id":"MDQ6VXNlcjM5MjY3NQ==","avatar_url":"https://avatars0.githubusercontent.com/u/392675?v=4","gravatar_id":"","url":"https://api.github.com/users/cykerway","html_url":"https://github.com/cykerway","followers_url":"https://api.github.com/users/cykerway/followers","following_url":"https://api.github.com/users/cykerway/following{/other_user}","gists_url":"https://api.github.com/users/cykerway/gists{/gist_id}","starred_url":"https://api.github.com/users/cykerway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cykerway/subscriptions","organizations_url":"https://api.github.com/users/cykerway/orgs","repos_url":"https://api.github.com/users/cykerway/repos","events_url":"https://api.github.com/users/cykerway/events{/privacy}","received_events_url":"https://api.github.com/users/cykerway/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-08T09:32:29Z","updated_at":"2018-07-09T10:51:58Z","closed_at":null,"author_association":"NONE","body":"#### Expected behaviour\r\n\r\n-   Image is rotated 90 degree clockwise.\r\n-   Exif thumbnail is rotated 90 degree clockwise.\r\n\r\n#### Actual behaviour\r\n\r\n-   Image is rotated 90 degree clockwise.\r\n-   But Exif thumbnail stays the same.\r\n\r\n#### Steps to reproduce the behaviour\r\n\r\n1.  Shoot a picture using a mobile device.\r\n2.  Open the image with EOM.\r\n3.  Click *Rotate Clockwise* button.\r\n4.  Save the rotated image.\r\n\r\n#### MATE general version\r\n\r\nN/A\r\n\r\n#### Package version\r\n\r\n1.20.0\r\n\r\n#### Linux Distribution\r\n\r\nArch Linux\r\n\r\n#### Link to downstream report of your Distribution\r\n\r\nN/A\r\n\r\n#### Comments\r\n\r\nI do notice the EOM source code handles thumbnail transformation [here](https://github.com/mate-desktop/eom/blob/v1.20.0/src/eom-image.c#L441). But for whatever reason, the Exif thumbnail in the saved image isn't rotated."},"comment":{"url":"https://api.github.com/repos/mate-desktop/eom/issues/comments/403439263","html_url":"https://github.com/mate-desktop/eom/issues/173#issuecomment-403439263","issue_url":"https://api.github.com/repos/mate-desktop/eom/issues/173","id":403439263,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzQzOTI2Mw==","user":{"login":"cykerway","id":392675,"node_id":"MDQ6VXNlcjM5MjY3NQ==","avatar_url":"https://avatars0.githubusercontent.com/u/392675?v=4","gravatar_id":"","url":"https://api.github.com/users/cykerway","html_url":"https://github.com/cykerway","followers_url":"https://api.github.com/users/cykerway/followers","following_url":"https://api.github.com/users/cykerway/following{/other_user}","gists_url":"https://api.github.com/users/cykerway/gists{/gist_id}","starred_url":"https://api.github.com/users/cykerway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cykerway/subscriptions","organizations_url":"https://api.github.com/users/cykerway/orgs","repos_url":"https://api.github.com/users/cykerway/repos","events_url":"https://api.github.com/users/cykerway/events{/privacy}","received_events_url":"https://api.github.com/users/cykerway/received_events","type":"User","site_admin":false},"created_at":"2018-07-09T10:51:58Z","updated_at":"2018-07-09T10:51:58Z","author_association":"NONE","body":"I mean exactly what I said in **Steps to reproduce the behaviour**.\r\n\r\nBasically, I took a picture with my phone, copied to my PC. Then I extracted its thumbnail using:\r\n\r\n    exiv2 -et a.jpg\r\n\r\nThen I rotated it with EOM and extracted thumbnail again. Now I have 2 thumbnails. But they are identical files. Even the sha1sum are the same. I was expecting the second thumbnail to be rotated.\r\n\r\nThe thumbnail is rotated when I use another program to rotate the image:\r\n\r\n    exiftran -9 -i a.jpg\r\n\r\nSo I think the problem may be with EOM. Then I looked into its source and found it seems to have taken care of thumbnail rotation. This confused me. I'm using EOM 1.20.0."}}
{"actor":{"display_login":"cykerway"}}