{"action":"created","issue":{"url":"https://api.github.com/repos/oliver-moran/jimp/issues/115","repository_url":"https://api.github.com/repos/oliver-moran/jimp","labels_url":"https://api.github.com/repos/oliver-moran/jimp/issues/115/labels{/name}","comments_url":"https://api.github.com/repos/oliver-moran/jimp/issues/115/comments","events_url":"https://api.github.com/repos/oliver-moran/jimp/issues/115/events","html_url":"https://github.com/oliver-moran/jimp/pull/115","id":145236004,"number":115,"title":"Add normalization function","user":{"login":"arminrosu","id":612952,"avatar_url":"https://avatars.githubusercontent.com/u/612952?v=3","gravatar_id":"","url":"https://api.github.com/users/arminrosu","html_url":"https://github.com/arminrosu","followers_url":"https://api.github.com/users/arminrosu/followers","following_url":"https://api.github.com/users/arminrosu/following{/other_user}","gists_url":"https://api.github.com/users/arminrosu/gists{/gist_id}","starred_url":"https://api.github.com/users/arminrosu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arminrosu/subscriptions","organizations_url":"https://api.github.com/users/arminrosu/orgs","repos_url":"https://api.github.com/users/arminrosu/repos","events_url":"https://api.github.com/users/arminrosu/events{/privacy}","received_events_url":"https://api.github.com/users/arminrosu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-01T17:23:37Z","updated_at":"2016-04-22T20:36:41Z","closed_at":"2016-04-22T20:36:41Z","pull_request":{"url":"https://api.github.com/repos/oliver-moran/jimp/pulls/115","html_url":"https://github.com/oliver-moran/jimp/pull/115","diff_url":"https://github.com/oliver-moran/jimp/pull/115.diff","patch_url":"https://github.com/oliver-moran/jimp/pull/115.patch"},"body":"If you accept this incredible, one-time-only offer, jimp could have [normalization](https://en.wikipedia.org/wiki/Normalization_(image_processing)) included today! ;)\r\n\r\nYou can see it's unbelievable effects below. The bushes maintain their highlights.\r\n\r\n![sample](https://cloud.githubusercontent.com/assets/612952/14214685/174690a4-f847-11e5-92fa-eadea976569d.jpg)\r\n\r\nThe original Lenna is on the left. Notice the yellow overcast.\r\n![lenna](https://cloud.githubusercontent.com/assets/612952/14214415/949a135c-f845-11e5-9292-cb1992b7dabb.jpg)\r\n\r\nAs an added bonus, I've optimized the images as well - except the exif samples, of course. I managed to shave 30MB of the repo size.\r\n\r\nIf someone is so inclined, they could use the `histogram()` function to create an [equalization](https://en.wikipedia.org/wiki/Histogram_equalization) method."},"comment":{"url":"https://api.github.com/repos/oliver-moran/jimp/issues/comments/213580993","html_url":"https://github.com/oliver-moran/jimp/pull/115#issuecomment-213580993","issue_url":"https://api.github.com/repos/oliver-moran/jimp/issues/115","id":213580993,"user":{"login":"oliver-moran","id":414918,"avatar_url":"https://avatars.githubusercontent.com/u/414918?v=3","gravatar_id":"","url":"https://api.github.com/users/oliver-moran","html_url":"https://github.com/oliver-moran","followers_url":"https://api.github.com/users/oliver-moran/followers","following_url":"https://api.github.com/users/oliver-moran/following{/other_user}","gists_url":"https://api.github.com/users/oliver-moran/gists{/gist_id}","starred_url":"https://api.github.com/users/oliver-moran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliver-moran/subscriptions","organizations_url":"https://api.github.com/users/oliver-moran/orgs","repos_url":"https://api.github.com/users/oliver-moran/repos","events_url":"https://api.github.com/users/oliver-moran/events{/privacy}","received_events_url":"https://api.github.com/users/oliver-moran/received_events","type":"User","site_admin":false},"created_at":"2016-04-22T20:36:41Z","updated_at":"2016-04-22T20:36:41Z","body":"An offer I cannot refuse. Thanks. Will be included in the next release.\r\n\r\nI didn't pull in the images. A branch conflict meant I couldn't simply merge and a `.npm-ignore` file now leaves the test files out of the release anyway."}}