{"action":"created","issue":{"url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/issues/329","repository_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor","labels_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/issues/329/labels{/name}","comments_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/issues/329/comments","events_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/issues/329/events","html_url":"https://github.com/JimBobSquarePants/ImageProcessor/pull/329","id":133513543,"number":329,"title":"Add lighten/darken blend modes","user":{"login":"christopherbauer","id":8356869,"avatar_url":"https://avatars.githubusercontent.com/u/8356869?v=3","gravatar_id":"","url":"https://api.github.com/users/christopherbauer","html_url":"https://github.com/christopherbauer","followers_url":"https://api.github.com/users/christopherbauer/followers","following_url":"https://api.github.com/users/christopherbauer/following{/other_user}","gists_url":"https://api.github.com/users/christopherbauer/gists{/gist_id}","starred_url":"https://api.github.com/users/christopherbauer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christopherbauer/subscriptions","organizations_url":"https://api.github.com/users/christopherbauer/orgs","repos_url":"https://api.github.com/users/christopherbauer/repos","events_url":"https://api.github.com/users/christopherbauer/events{/privacy}","received_events_url":"https://api.github.com/users/christopherbauer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/labels/core","name":"core","color":"682079"},{"url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/labels/enhancement","name":"enhancement","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-02-14T06:49:46Z","updated_at":"2016-02-23T12:01:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/pulls/329","html_url":"https://github.com/JimBobSquarePants/ImageProcessor/pull/329","diff_url":"https://github.com/JimBobSquarePants/ImageProcessor/pull/329.diff","patch_url":"https://github.com/JimBobSquarePants/ImageProcessor/pull/329.patch"},"body":"For Issue #294, lighten and darken blend modes + tests.\r\n\r\nUnfortunately I still can't get the xunit test runners working, so I can't check my logic here. Any takers for running the unit tests? It was straightforward enough that I feel confident (famous last words)."},"comment":{"url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/issues/comments/187672139","html_url":"https://github.com/JimBobSquarePants/ImageProcessor/pull/329#issuecomment-187672139","issue_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/issues/329","id":187672139,"user":{"login":"christopherbauer","id":8356869,"avatar_url":"https://avatars.githubusercontent.com/u/8356869?v=3","gravatar_id":"","url":"https://api.github.com/users/christopherbauer","html_url":"https://github.com/christopherbauer","followers_url":"https://api.github.com/users/christopherbauer/followers","following_url":"https://api.github.com/users/christopherbauer/following{/other_user}","gists_url":"https://api.github.com/users/christopherbauer/gists{/gist_id}","starred_url":"https://api.github.com/users/christopherbauer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christopherbauer/subscriptions","organizations_url":"https://api.github.com/users/christopherbauer/orgs","repos_url":"https://api.github.com/users/christopherbauer/repos","events_url":"https://api.github.com/users/christopherbauer/events{/privacy}","received_events_url":"https://api.github.com/users/christopherbauer/received_events","type":"User","site_admin":false},"created_at":"2016-02-23T12:01:22Z","updated_at":"2016-02-23T12:01:22Z","body":"Isn't the A value completely independent of whether or not you're dealing with pre or post multiplied colors? That's why you can still convert to and from post once you've gone to pre (albeit lossily). Is `Lerp` accurate for this scenario?\r\n\r\nRemember the constructor could have a default value so most people wouldn't notice, and changing implementations of converters would be fairly straightforward (based on which conversion you were doing).\r\n\r\nIf anyone, including us, plan to work with colors in any way pre or post status is something that belongs inside the color itself so that we can make intelligent and accurate decisions."}}