{"action":"created","issue":{"url":"https://api.github.com/repos/scala-native/scala-native-example/issues/16","repository_url":"https://api.github.com/repos/scala-native/scala-native-example","labels_url":"https://api.github.com/repos/scala-native/scala-native-example/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/scala-native/scala-native-example/issues/16/comments","events_url":"https://api.github.com/repos/scala-native/scala-native-example/issues/16/events","html_url":"https://github.com/scala-native/scala-native-example/issues/16","id":182072215,"number":16,"title":"Produces broken image","user":{"login":"harryhuk","id":7779647,"avatar_url":"https://avatars.githubusercontent.com/u/7779647?v=3","gravatar_id":"","url":"https://api.github.com/users/harryhuk","html_url":"https://github.com/harryhuk","followers_url":"https://api.github.com/users/harryhuk/followers","following_url":"https://api.github.com/users/harryhuk/following{/other_user}","gists_url":"https://api.github.com/users/harryhuk/gists{/gist_id}","starred_url":"https://api.github.com/users/harryhuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harryhuk/subscriptions","organizations_url":"https://api.github.com/users/harryhuk/orgs","repos_url":"https://api.github.com/users/harryhuk/repos","events_url":"https://api.github.com/users/harryhuk/events{/privacy}","received_events_url":"https://api.github.com/users/harryhuk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-10T17:37:12Z","updated_at":"2016-10-11T14:37:48Z","closed_at":null,"body":"Hi,\r\nI just cloned this project (to Ubuntu 16.04)\r\nIt builds fine, and runs, but the image0.ppm file is reporting its height as `22331248`\r\n\r\nthe top 2 lines of the output are:\r\n\r\n> P3\r\n> 800 22331248\r\n\r\nIf I edit the height to be 600, to match the scala src, I can then open the file, although the colours are very diifferent from  the png file supplied.\r\n\r\nIf I explicitly set the type of W and H to Int, it runs quicker, (42s vs 64s) and the width reported is:\r\n\r\n> P3\r\n> 800 18177904\r\n\r\nagain if I edit the height to be 600, I get (nearly) the same png, but still very different colours to the example supplied.\r\n\r\nNothing obviously wrong in the source scala. I haven't changed any of the project files, and just did:\r\n\r\n> sbt run\r\n"},"comment":{"url":"https://api.github.com/repos/scala-native/scala-native-example/issues/comments/252936156","html_url":"https://github.com/scala-native/scala-native-example/issues/16#issuecomment-252936156","issue_url":"https://api.github.com/repos/scala-native/scala-native-example/issues/16","id":252936156,"user":{"login":"Yoitsumi","id":7456500,"avatar_url":"https://avatars.githubusercontent.com/u/7456500?v=3","gravatar_id":"","url":"https://api.github.com/users/Yoitsumi","html_url":"https://github.com/Yoitsumi","followers_url":"https://api.github.com/users/Yoitsumi/followers","following_url":"https://api.github.com/users/Yoitsumi/following{/other_user}","gists_url":"https://api.github.com/users/Yoitsumi/gists{/gist_id}","starred_url":"https://api.github.com/users/Yoitsumi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yoitsumi/subscriptions","organizations_url":"https://api.github.com/users/Yoitsumi/orgs","repos_url":"https://api.github.com/users/Yoitsumi/repos","events_url":"https://api.github.com/users/Yoitsumi/events{/privacy}","received_events_url":"https://api.github.com/users/Yoitsumi/received_events","type":"User","site_admin":false},"created_at":"2016-10-11T14:37:48Z","updated_at":"2016-10-11T14:37:48Z","body":"It's a bug with vararg functions introduced in scala-native/scala-native#299, i'm already working on a fix for that"}}
{"actor":{"display_login":"Yoitsumi"}}