{"action":"created","comment":{"url":"https://api.github.com/repos/SixLabors/ImageSharp/pulls/comments/187763257","pull_request_review_id":119615847,"id":187763257,"diff_hunk":"@@ -42,6 +42,12 @@ internal ImageFrameCollection(Image<TPixel> parent, IEnumerable<ImageFrame<TPixe\n                 this.ValidateFrame(f);\n                 this.frames.Add(f);\n             }\n+\n+            // Ensure at least 1 frame was added to the frames collection\n+            if (this.frames.Count == 0)","path":"src/ImageSharp/ImageFrameCollection.cs","position":15,"original_position":15,"commit_id":"93c44f4200b0cf2b6b480f09d56fce47bb8ad64a","original_commit_id":"09a77e411ac0abe0a80419e32250ac46ea4908af","user":{"login":"JimBobSquarePants","id":385879,"avatar_url":"https://avatars2.githubusercontent.com/u/385879?v=4","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},"body":"Legit, forgot about `IEnumerable`.","created_at":"2018-05-12T03:43:54Z","updated_at":"2018-05-12T03:43:54Z","html_url":"https://github.com/SixLabors/ImageSharp/pull/567#discussion_r187763257","pull_request_url":"https://api.github.com/repos/SixLabors/ImageSharp/pulls/567","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/SixLabors/ImageSharp/pulls/comments/187763257"},"html":{"href":"https://github.com/SixLabors/ImageSharp/pull/567#discussion_r187763257"},"pull_request":{"href":"https://api.github.com/repos/SixLabors/ImageSharp/pulls/567"}},"in_reply_to_id":187502777},"pull_request":{"url":"https://api.github.com/repos/SixLabors/ImageSharp/pulls/567","id":187059740,"html_url":"https://github.com/SixLabors/ImageSharp/pull/567","diff_url":"https://github.com/SixLabors/ImageSharp/pull/567.diff","patch_url":"https://github.com/SixLabors/ImageSharp/pull/567.patch","issue_url":"https://api.github.com/repos/SixLabors/ImageSharp/issues/567","number":567,"state":"open","locked":false,"title":"Expose Span methods on LoadPixelData and SavePixelData ","user":{"login":"iamcarbon","id":7537,"avatar_url":"https://avatars1.githubusercontent.com/u/7537?v=4","gravatar_id":"","url":"https://api.github.com/users/iamcarbon","html_url":"https://github.com/iamcarbon","followers_url":"https://api.github.com/users/iamcarbon/followers","following_url":"https://api.github.com/users/iamcarbon/following{/other_user}","gists_url":"https://api.github.com/users/iamcarbon/gists{/gist_id}","starred_url":"https://api.github.com/users/iamcarbon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamcarbon/subscriptions","organizations_url":"https://api.github.com/users/iamcarbon/orgs","repos_url":"https://api.github.com/users/iamcarbon/repos","events_url":"https://api.github.com/users/iamcarbon/events{/privacy}","received_events_url":"https://api.github.com/users/iamcarbon/received_events","type":"User","site_admin":false},"body":"### Prerequisites\r\n\r\n- [x] I have written a descriptive pull-request title\r\n- [x] I have verified that there are no overlapping [pull-requests](https://github.com/SixLabors/ImageSharp/pulls) open\r\n- [x] I have verified that I am following matches the existing coding patterns and practice as demonstrated in the repository. These follow strict Stylecop rules :cop:.\r\n- [x] I have provided test coverage for my change (where applicable)\r\n\r\n### Description\r\n<!-- A description of the changes proposed in the pull-request -->\r\n\r\n- Expose the Span overloads in LoadImageData & SaveImageData. This allows image data to be copied directly to and from Memory.\r\n- Simplify palette access within the Png & Gif decoders and eliminate ByteExtensions.\r\n- Cleanup Gaurd.\r\n- Allow a leading period in extension when calling FindFormatByFileExtension \r\n\r\n<!-- Thanks for contributing to ImageSharp! -->\r\n","created_at":"2018-05-09T22:46:40Z","updated_at":"2018-05-12T03:43:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ab4b19b58da4531d0736a52b61fcbce221c6ade6","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/SixLabors/ImageSharp/pulls/567/commits","review_comments_url":"https://api.github.com/repos/SixLabors/ImageSharp/pulls/567/comments","review_comment_url":"https://api.github.com/repos/SixLabors/ImageSharp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SixLabors/ImageSharp/issues/567/comments","statuses_url":"https://api.github.com/repos/SixLabors/ImageSharp/statuses/93c44f4200b0cf2b6b480f09d56fce47bb8ad64a","head":{"label":"carbon:memory-rc1","ref":"memory-rc1","sha":"93c44f4200b0cf2b6b480f09d56fce47bb8ad64a","user":{"login":"carbon","id":2036072,"avatar_url":"https://avatars0.githubusercontent.com/u/2036072?v=4","gravatar_id":"","url":"https://api.github.com/users/carbon","html_url":"https://github.com/carbon","followers_url":"https://api.github.com/users/carbon/followers","following_url":"https://api.github.com/users/carbon/following{/other_user}","gists_url":"https://api.github.com/users/carbon/gists{/gist_id}","starred_url":"https://api.github.com/users/carbon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carbon/subscriptions","organizations_url":"https://api.github.com/users/carbon/orgs","repos_url":"https://api.github.com/users/carbon/repos","events_url":"https://api.github.com/users/carbon/events{/privacy}","received_events_url":"https://api.github.com/users/carbon/received_events","type":"Organization","site_admin":false},"repo":{"id":123212584,"name":"ImageSharp","full_name":"carbon/ImageSharp","owner":{"login":"carbon","id":2036072,"avatar_url":"https://avatars0.githubusercontent.com/u/2036072?v=4","gravatar_id":"","url":"https://api.github.com/users/carbon","html_url":"https://github.com/carbon","followers_url":"https://api.github.com/users/carbon/followers","following_url":"https://api.github.com/users/carbon/following{/other_user}","gists_url":"https://api.github.com/users/carbon/gists{/gist_id}","starred_url":"https://api.github.com/users/carbon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carbon/subscriptions","organizations_url":"https://api.github.com/users/carbon/orgs","repos_url":"https://api.github.com/users/carbon/repos","events_url":"https://api.github.com/users/carbon/events{/privacy}","received_events_url":"https://api.github.com/users/carbon/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/carbon/ImageSharp","description":":camera: A cross-platform library for the processing of image files; written in C#","fork":true,"url":"https://api.github.com/repos/carbon/ImageSharp","forks_url":"https://api.github.com/repos/carbon/ImageSharp/forks","keys_url":"https://api.github.com/repos/carbon/ImageSharp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/carbon/ImageSharp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/carbon/ImageSharp/teams","hooks_url":"https://api.github.com/repos/carbon/ImageSharp/hooks","issue_events_url":"https://api.github.com/repos/carbon/ImageSharp/issues/events{/number}","events_url":"https://api.github.com/repos/carbon/ImageSharp/events","assignees_url":"https://api.github.com/repos/carbon/ImageSharp/assignees{/user}","branches_url":"https://api.github.com/repos/carbon/ImageSharp/branches{/branch}","tags_url":"https://api.github.com/repos/carbon/ImageSharp/tags","blobs_url":"https://api.github.com/repos/carbon/ImageSharp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/carbon/ImageSharp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/carbon/ImageSharp/git/refs{/sha}","trees_url":"https://api.github.com/repos/carbon/ImageSharp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/carbon/ImageSharp/statuses/{sha}","languages_url":"https://api.github.com/repos/carbon/ImageSharp/languages","stargazers_url":"https://api.github.com/repos/carbon/ImageSharp/stargazers","contributors_url":"https://api.github.com/repos/carbon/ImageSharp/contributors","subscribers_url":"https://api.github.com/repos/carbon/ImageSharp/subscribers","subscription_url":"https://api.github.com/repos/carbon/ImageSharp/subscription","commits_url":"https://api.github.com/repos/carbon/ImageSharp/commits{/sha}","git_commits_url":"https://api.github.com/repos/carbon/ImageSharp/git/commits{/sha}","comments_url":"https://api.github.com/repos/carbon/ImageSharp/comments{/number}","issue_comment_url":"https://api.github.com/repos/carbon/ImageSharp/issues/comments{/number}","contents_url":"https://api.github.com/repos/carbon/ImageSharp/contents/{+path}","compare_url":"https://api.github.com/repos/carbon/ImageSharp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/carbon/ImageSharp/merges","archive_url":"https://api.github.com/repos/carbon/ImageSharp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/carbon/ImageSharp/downloads","issues_url":"https://api.github.com/repos/carbon/ImageSharp/issues{/number}","pulls_url":"https://api.github.com/repos/carbon/ImageSharp/pulls{/number}","milestones_url":"https://api.github.com/repos/carbon/ImageSharp/milestones{/number}","notifications_url":"https://api.github.com/repos/carbon/ImageSharp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/carbon/ImageSharp/labels{/name}","releases_url":"https://api.github.com/repos/carbon/ImageSharp/releases{/id}","deployments_url":"https://api.github.com/repos/carbon/ImageSharp/deployments","created_at":"2018-02-28T01:42:54Z","updated_at":"2018-05-07T17:10:31Z","pushed_at":"2018-05-11T17:37:36Z","git_url":"git://github.com/carbon/ImageSharp.git","ssh_url":"git@github.com:carbon/ImageSharp.git","clone_url":"https://github.com/carbon/ImageSharp.git","svn_url":"https://github.com/carbon/ImageSharp","homepage":"https://sixlabors.com/projects/imagesharp/","size":298404,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"SixLabors:master","ref":"master","sha":"597f02fc11b3cc689d72a74adbf5d13411e14bf3","user":{"login":"SixLabors","id":25224152,"avatar_url":"https://avatars3.githubusercontent.com/u/25224152?v=4","gravatar_id":"","url":"https://api.github.com/users/SixLabors","html_url":"https://github.com/SixLabors","followers_url":"https://api.github.com/users/SixLabors/followers","following_url":"https://api.github.com/users/SixLabors/following{/other_user}","gists_url":"https://api.github.com/users/SixLabors/gists{/gist_id}","starred_url":"https://api.github.com/users/SixLabors/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SixLabors/subscriptions","organizations_url":"https://api.github.com/users/SixLabors/orgs","repos_url":"https://api.github.com/users/SixLabors/repos","events_url":"https://api.github.com/users/SixLabors/events{/privacy}","received_events_url":"https://api.github.com/users/SixLabors/received_events","type":"Organization","site_admin":false},"repo":{"id":72174164,"name":"ImageSharp","full_name":"SixLabors/ImageSharp","owner":{"login":"SixLabors","id":25224152,"avatar_url":"https://avatars3.githubusercontent.com/u/25224152?v=4","gravatar_id":"","url":"https://api.github.com/users/SixLabors","html_url":"https://github.com/SixLabors","followers_url":"https://api.github.com/users/SixLabors/followers","following_url":"https://api.github.com/users/SixLabors/following{/other_user}","gists_url":"https://api.github.com/users/SixLabors/gists{/gist_id}","starred_url":"https://api.github.com/users/SixLabors/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SixLabors/subscriptions","organizations_url":"https://api.github.com/users/SixLabors/orgs","repos_url":"https://api.github.com/users/SixLabors/repos","events_url":"https://api.github.com/users/SixLabors/events{/privacy}","received_events_url":"https://api.github.com/users/SixLabors/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SixLabors/ImageSharp","description":":camera: A cross-platform library for the processing of image files; written in C#","fork":false,"url":"https://api.github.com/repos/SixLabors/ImageSharp","forks_url":"https://api.github.com/repos/SixLabors/ImageSharp/forks","keys_url":"https://api.github.com/repos/SixLabors/ImageSharp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SixLabors/ImageSharp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SixLabors/ImageSharp/teams","hooks_url":"https://api.github.com/repos/SixLabors/ImageSharp/hooks","issue_events_url":"https://api.github.com/repos/SixLabors/ImageSharp/issues/events{/number}","events_url":"https://api.github.com/repos/SixLabors/ImageSharp/events","assignees_url":"https://api.github.com/repos/SixLabors/ImageSharp/assignees{/user}","branches_url":"https://api.github.com/repos/SixLabors/ImageSharp/branches{/branch}","tags_url":"https://api.github.com/repos/SixLabors/ImageSharp/tags","blobs_url":"https://api.github.com/repos/SixLabors/ImageSharp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SixLabors/ImageSharp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SixLabors/ImageSharp/git/refs{/sha}","trees_url":"https://api.github.com/repos/SixLabors/ImageSharp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SixLabors/ImageSharp/statuses/{sha}","languages_url":"https://api.github.com/repos/SixLabors/ImageSharp/languages","stargazers_url":"https://api.github.com/repos/SixLabors/ImageSharp/stargazers","contributors_url":"https://api.github.com/repos/SixLabors/ImageSharp/contributors","subscribers_url":"https://api.github.com/repos/SixLabors/ImageSharp/subscribers","subscription_url":"https://api.github.com/repos/SixLabors/ImageSharp/subscription","commits_url":"https://api.github.com/repos/SixLabors/ImageSharp/commits{/sha}","git_commits_url":"https://api.github.com/repos/SixLabors/ImageSharp/git/commits{/sha}","comments_url":"https://api.github.com/repos/SixLabors/ImageSharp/comments{/number}","issue_comment_url":"https://api.github.com/repos/SixLabors/ImageSharp/issues/comments{/number}","contents_url":"https://api.github.com/repos/SixLabors/ImageSharp/contents/{+path}","compare_url":"https://api.github.com/repos/SixLabors/ImageSharp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SixLabors/ImageSharp/merges","archive_url":"https://api.github.com/repos/SixLabors/ImageSharp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SixLabors/ImageSharp/downloads","issues_url":"https://api.github.com/repos/SixLabors/ImageSharp/issues{/number}","pulls_url":"https://api.github.com/repos/SixLabors/ImageSharp/pulls{/number}","milestones_url":"https://api.github.com/repos/SixLabors/ImageSharp/milestones{/number}","notifications_url":"https://api.github.com/repos/SixLabors/ImageSharp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SixLabors/ImageSharp/labels{/name}","releases_url":"https://api.github.com/repos/SixLabors/ImageSharp/releases{/id}","deployments_url":"https://api.github.com/repos/SixLabors/ImageSharp/deployments","created_at":"2016-10-28T04:46:36Z","updated_at":"2018-05-11T22:22:31Z","pushed_at":"2018-05-11T20:21:45Z","git_url":"git://github.com/SixLabors/ImageSharp.git","ssh_url":"git@github.com:SixLabors/ImageSharp.git","clone_url":"https://github.com/SixLabors/ImageSharp.git","svn_url":"https://github.com/SixLabors/ImageSharp","homepage":"https://sixlabors.github.io/docs/articles/ImageSharp/GettingStarted.html","size":298502,"stargazers_count":1860,"watchers_count":1860,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":252,"mirror_url":null,"archived":false,"open_issues_count":73,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":252,"open_issues":73,"watchers":1860,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SixLabors/ImageSharp/pulls/567"},"html":{"href":"https://github.com/SixLabors/ImageSharp/pull/567"},"issue":{"href":"https://api.github.com/repos/SixLabors/ImageSharp/issues/567"},"comments":{"href":"https://api.github.com/repos/SixLabors/ImageSharp/issues/567/comments"},"review_comments":{"href":"https://api.github.com/repos/SixLabors/ImageSharp/pulls/567/comments"},"review_comment":{"href":"https://api.github.com/repos/SixLabors/ImageSharp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SixLabors/ImageSharp/pulls/567/commits"},"statuses":{"href":"https://api.github.com/repos/SixLabors/ImageSharp/statuses/93c44f4200b0cf2b6b480f09d56fce47bb8ad64a"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"JimBobSquarePants"}}