{"action":"created","issue":{"url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/issues/183","labels_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/issues/183/labels{/name}","comments_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/issues/183/comments","events_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/issues/183/events","html_url":"https://github.com/JimBobSquarePants/ImageProcessor/pull/183","id":89108064,"number":183,"title":"Add overload for loading image data from a byte array.","user":{"login":"khiemtong","id":1302588,"avatar_url":"https://avatars.githubusercontent.com/u/1302588?v=3","gravatar_id":"","url":"https://api.github.com/users/khiemtong","html_url":"https://github.com/khiemtong","followers_url":"https://api.github.com/users/khiemtong/followers","following_url":"https://api.github.com/users/khiemtong/following{/other_user}","gists_url":"https://api.github.com/users/khiemtong/gists{/gist_id}","starred_url":"https://api.github.com/users/khiemtong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khiemtong/subscriptions","organizations_url":"https://api.github.com/users/khiemtong/orgs","repos_url":"https://api.github.com/users/khiemtong/repos","events_url":"https://api.github.com/users/khiemtong/events{/privacy}","received_events_url":"https://api.github.com/users/khiemtong/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-17T19:48:33Z","updated_at":"2015-06-22T23:03:18Z","closed_at":"2015-06-17T22:31:58Z","pull_request":{"url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/pulls/183","html_url":"https://github.com/JimBobSquarePants/ImageProcessor/pull/183","diff_url":"https://github.com/JimBobSquarePants/ImageProcessor/pull/183.diff","patch_url":"https://github.com/JimBobSquarePants/ImageProcessor/pull/183.patch"},"body":"I found myself writing a lot of code similar to this\r\n\r\n```\r\nvar bytes = File.ReadAllBytes(...)\r\nusing (var memStream = new MemoryStream(bytes)) { // extraneous\r\n   ...\r\n   imageFactory.Load(memStream)\r\n}\r\n```\r\n\r\nThis overload removes the need to create an extra memory stream, since ImageFactory.Load already contains ones internally."},"comment":{"url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/issues/comments/114296024","html_url":"https://github.com/JimBobSquarePants/ImageProcessor/pull/183#issuecomment-114296024","issue_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/issues/183","id":114296024,"user":{"login":"JimBobSquarePants","id":385879,"avatar_url":"https://avatars.githubusercontent.com/u/385879?v=3","gravatar_id":"","url":"https://api.github.com/users/JimBobSquarePants","html_url":"https://github.com/JimBobSquarePants","followers_url":"https://api.github.com/users/JimBobSquarePants/followers","following_url":"https://api.github.com/users/JimBobSquarePants/following{/other_user}","gists_url":"https://api.github.com/users/JimBobSquarePants/gists{/gist_id}","starred_url":"https://api.github.com/users/JimBobSquarePants/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JimBobSquarePants/subscriptions","organizations_url":"https://api.github.com/users/JimBobSquarePants/orgs","repos_url":"https://api.github.com/users/JimBobSquarePants/repos","events_url":"https://api.github.com/users/JimBobSquarePants/events{/privacy}","received_events_url":"https://api.github.com/users/JimBobSquarePants/received_events","type":"User","site_admin":false},"created_at":"2015-06-22T23:03:18Z","updated_at":"2015-06-22T23:03:18Z","body":"Added in version [2.2.6](https://www.nuget.org/packages/ImageProcessor/) Thanks for your contribution is is very much appreciated :+1: "}}