{"action":"closed","issue":{"url":"https://api.github.com/repos/Beep6581/RawTherapee/issues/5327","repository_url":"https://api.github.com/repos/Beep6581/RawTherapee","labels_url":"https://api.github.com/repos/Beep6581/RawTherapee/issues/5327/labels{/name}","comments_url":"https://api.github.com/repos/Beep6581/RawTherapee/issues/5327/comments","events_url":"https://api.github.com/repos/Beep6581/RawTherapee/issues/5327/events","html_url":"https://github.com/Beep6581/RawTherapee/issues/5327","id":445730490,"node_id":"MDU6SXNzdWU0NDU3MzA0OTA=","number":5327,"title":"Don't preprocess and demosaic again when using coarse rotation or flip","user":{"login":"heckflosse","id":13733487,"node_id":"MDQ6VXNlcjEzNzMzNDg3","avatar_url":"https://avatars3.githubusercontent.com/u/13733487?v=4","gravatar_id":"","url":"https://api.github.com/users/heckflosse","html_url":"https://github.com/heckflosse","followers_url":"https://api.github.com/users/heckflosse/followers","following_url":"https://api.github.com/users/heckflosse/following{/other_user}","gists_url":"https://api.github.com/users/heckflosse/gists{/gist_id}","starred_url":"https://api.github.com/users/heckflosse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heckflosse/subscriptions","organizations_url":"https://api.github.com/users/heckflosse/orgs","repos_url":"https://api.github.com/users/heckflosse/repos","events_url":"https://api.github.com/users/heckflosse/events{/privacy}","received_events_url":"https://api.github.com/users/heckflosse/received_events","type":"User","site_admin":false},"labels":[{"id":246584591,"node_id":"MDU6TGFiZWwyNDY1ODQ1OTE=","url":"https://api.github.com/repos/Beep6581/RawTherapee/labels/performance","name":"performance","color":"ffff00","default":false}],"state":"closed","locked":false,"assignee":{"login":"heckflosse","id":13733487,"node_id":"MDQ6VXNlcjEzNzMzNDg3","avatar_url":"https://avatars3.githubusercontent.com/u/13733487?v=4","gravatar_id":"","url":"https://api.github.com/users/heckflosse","html_url":"https://github.com/heckflosse","followers_url":"https://api.github.com/users/heckflosse/followers","following_url":"https://api.github.com/users/heckflosse/following{/other_user}","gists_url":"https://api.github.com/users/heckflosse/gists{/gist_id}","starred_url":"https://api.github.com/users/heckflosse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heckflosse/subscriptions","organizations_url":"https://api.github.com/users/heckflosse/orgs","repos_url":"https://api.github.com/users/heckflosse/repos","events_url":"https://api.github.com/users/heckflosse/events{/privacy}","received_events_url":"https://api.github.com/users/heckflosse/received_events","type":"User","site_admin":false},"assignees":[{"login":"heckflosse","id":13733487,"node_id":"MDQ6VXNlcjEzNzMzNDg3","avatar_url":"https://avatars3.githubusercontent.com/u/13733487?v=4","gravatar_id":"","url":"https://api.github.com/users/heckflosse","html_url":"https://github.com/heckflosse","followers_url":"https://api.github.com/users/heckflosse/followers","following_url":"https://api.github.com/users/heckflosse/following{/other_user}","gists_url":"https://api.github.com/users/heckflosse/gists{/gist_id}","starred_url":"https://api.github.com/users/heckflosse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heckflosse/subscriptions","organizations_url":"https://api.github.com/users/heckflosse/orgs","repos_url":"https://api.github.com/users/heckflosse/repos","events_url":"https://api.github.com/users/heckflosse/events{/privacy}","received_events_url":"https://api.github.com/users/heckflosse/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Beep6581/RawTherapee/milestones/7","html_url":"https://github.com/Beep6581/RawTherapee/milestone/7","labels_url":"https://api.github.com/repos/Beep6581/RawTherapee/milestones/7/labels","id":4057186,"node_id":"MDk6TWlsZXN0b25lNDA1NzE4Ng==","number":7,"title":"v5.7","description":"","creator":{"login":"Beep6581","id":5844619,"node_id":"MDQ6VXNlcjU4NDQ2MTk=","avatar_url":"https://avatars1.githubusercontent.com/u/5844619?v=4","gravatar_id":"","url":"https://api.github.com/users/Beep6581","html_url":"https://github.com/Beep6581","followers_url":"https://api.github.com/users/Beep6581/followers","following_url":"https://api.github.com/users/Beep6581/following{/other_user}","gists_url":"https://api.github.com/users/Beep6581/gists{/gist_id}","starred_url":"https://api.github.com/users/Beep6581/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Beep6581/subscriptions","organizations_url":"https://api.github.com/users/Beep6581/orgs","repos_url":"https://api.github.com/users/Beep6581/repos","events_url":"https://api.github.com/users/Beep6581/events{/privacy}","received_events_url":"https://api.github.com/users/Beep6581/received_events","type":"User","site_admin":false},"open_issues":32,"closed_issues":7,"state":"open","created_at":"2019-02-14T15:05:59Z","updated_at":"2019-05-19T14:06:59Z","due_on":"2019-07-06T07:00:00Z","closed_at":null},"comments":0,"created_at":"2019-05-18T16:14:49Z","updated_at":"2019-05-19T14:06:59Z","closed_at":"2019-05-19T14:06:59Z","author_association":"COLLABORATOR","body":"Currently, when using coarse rotation or flip, the image gets raw preprocessed and demosaiced again, which imho is not necessary.\r\n\r\nThis simple patch fixes it:\r\n\r\n```diff\r\ndiff --git a/rtengine/refreshmap.cc b/rtengine/refreshmap.cc\r\nindex 7a5214d75..d741b1744 100644\r\n--- a/rtengine/refreshmap.cc\r\n+++ b/rtengine/refreshmap.cc\r\n@@ -83,9 +83,9 @@ int refreshmap[rtengine::NUMOFEVENTS] = {\r\n     RGBCURVE,         // EvSHSHTonalW,\r\n     RGBCURVE,         // EvSHLContrast,\r\n     RETINEX,          // EvSHRadius,\r\n-    ALL,              // EvCTRotate,\r\n-    ALL,              // EvCTHFlip,\r\n-    ALL,              // EvCTVFlip,\r\n+    ALLNORAW,         // EvCTRotate,\r\n+    ALLNORAW,         // EvCTHFlip,\r\n+    ALLNORAW,         // EvCTVFlip,\r\n     TRANSFORM,        // EvROTDegree,\r\n     TRANSFORM,        // EvTransAutoFill,\r\n     TRANSFORM,        // EvDISTAmount,\r\n\r\n```\r\n\r\nAny objections to commit this patch?"}}
{"actor":{"display_login":"heckflosse"}}