{"action":"created","issue":{"url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/issues/404","repository_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor","labels_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/issues/404/labels{/name}","comments_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/issues/404/comments","events_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/issues/404/events","html_url":"https://github.com/JimBobSquarePants/ImageProcessor/issues/404","id":159747178,"number":404,"title":"System.AccessViolationException doing a Resize","user":{"login":"corneliutusnea","id":346349,"avatar_url":"https://avatars.githubusercontent.com/u/346349?v=3","gravatar_id":"","url":"https://api.github.com/users/corneliutusnea","html_url":"https://github.com/corneliutusnea","followers_url":"https://api.github.com/users/corneliutusnea/followers","following_url":"https://api.github.com/users/corneliutusnea/following{/other_user}","gists_url":"https://api.github.com/users/corneliutusnea/gists{/gist_id}","starred_url":"https://api.github.com/users/corneliutusnea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/corneliutusnea/subscriptions","organizations_url":"https://api.github.com/users/corneliutusnea/orgs","repos_url":"https://api.github.com/users/corneliutusnea/repos","events_url":"https://api.github.com/users/corneliutusnea/events{/privacy}","received_events_url":"https://api.github.com/users/corneliutusnea/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-11T00:48:42Z","updated_at":"2016-06-11T05:33:12Z","closed_at":null,"body":"Hi guys,\r\n\r\nI'm getting an 'System.AccessViolationException' doing a resize of a JPG about 400k in size.\r\n\r\nCrash is at ImageBase:153.\r\n```\r\nreturn *((Color*)(this.pixelsBase + ((y * this.Width) + x) * 4));\r\n```\r\n\r\nOriginal image size: 1306x979. New Image size: 200x200 with Pad.\r\n\r\nResize code is:\r\n```\r\n   image.BackgroundColor(Color.RebeccaPurple); // << it works if I comment this line out!\r\n    var result = image.Resize(new ResizeOptions()\r\n    {\r\n        Size = new Size(200, 200),\r\n        Mode = ResizeMode.Pad,\r\n        Compand = true\r\n    });\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/issues/comments/225338280","html_url":"https://github.com/JimBobSquarePants/ImageProcessor/issues/404#issuecomment-225338280","issue_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/issues/404","id":225338280,"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":"2016-06-11T05:33:12Z","updated_at":"2016-06-11T05:33:12Z","body":"Hi there, what version number are you running from myget? Would it be possible to share the image? "}}
{"actor":{"display_login":"JimBobSquarePants"}}