{"action":"created","issue":{"url":"https://api.github.com/repos/sullerandras/png_to_xnb/issues/6","repository_url":"https://api.github.com/repos/sullerandras/png_to_xnb","labels_url":"https://api.github.com/repos/sullerandras/png_to_xnb/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/sullerandras/png_to_xnb/issues/6/comments","events_url":"https://api.github.com/repos/sullerandras/png_to_xnb/issues/6/events","html_url":"https://github.com/sullerandras/png_to_xnb/pull/6","id":331650549,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk0MzI4OTg4","number":6,"title":"Add premultiply alpha option (default)","user":{"login":"trigger-death","id":9752430,"node_id":"MDQ6VXNlcjk3NTI0MzA=","avatar_url":"https://avatars0.githubusercontent.com/u/9752430?v=4","gravatar_id":"","url":"https://api.github.com/users/trigger-death","html_url":"https://github.com/trigger-death","followers_url":"https://api.github.com/users/trigger-death/followers","following_url":"https://api.github.com/users/trigger-death/following{/other_user}","gists_url":"https://api.github.com/users/trigger-death/gists{/gist_id}","starred_url":"https://api.github.com/users/trigger-death/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trigger-death/subscriptions","organizations_url":"https://api.github.com/users/trigger-death/orgs","repos_url":"https://api.github.com/users/trigger-death/repos","events_url":"https://api.github.com/users/trigger-death/events{/privacy}","received_events_url":"https://api.github.com/users/trigger-death/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-06-12T15:54:46Z","updated_at":"2018-09-07T13:54:01Z","closed_at":"2018-06-15T01:25:43Z","author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/sullerandras/png_to_xnb/pulls/6","html_url":"https://github.com/sullerandras/png_to_xnb/pull/6","diff_url":"https://github.com/sullerandras/png_to_xnb/pull/6.diff","patch_url":"https://github.com/sullerandras/png_to_xnb/pull/6.patch"},"body":"By default, XNB's will now have their alpha premultiplied unless otherwise specified. This fixes issue https://github.com/sullerandras/png_to_xnb/issues/5.\r\n\r\n**Argument:** `[-nopre]`\r\n**Details:** Premultiplying alpha is the process of scaling the RGB channels by the alpha (as 0.0-1.0). XNB's created in XNA or other official tools will, *by default*, premultiply the alpha.\r\n\r\n**Other Changes:**\r\n* Changed width of `checkBoxCompress` to make room for `checkBoxPremultiply`.\r\n* Simplified `Path.Combine(Path.GetDirectory(), Path.GetFileNameWithoutExtension() + ext)` to `Path.ChangedExtension()`.\r\n* Open File Dialog now properly states *.xnb as *XNB files* and not *PNG files*.\r\n* Added \"if\" to \"even **if** xcompress32.dll is available\" in `-u` argument description."},"comment":{"url":"https://api.github.com/repos/sullerandras/png_to_xnb/issues/comments/419446617","html_url":"https://github.com/sullerandras/png_to_xnb/pull/6#issuecomment-419446617","issue_url":"https://api.github.com/repos/sullerandras/png_to_xnb/issues/6","id":419446617,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTQ0NjYxNw==","user":{"login":"Rombersoft","id":19586466,"node_id":"MDQ6VXNlcjE5NTg2NDY2","avatar_url":"https://avatars3.githubusercontent.com/u/19586466?v=4","gravatar_id":"","url":"https://api.github.com/users/Rombersoft","html_url":"https://github.com/Rombersoft","followers_url":"https://api.github.com/users/Rombersoft/followers","following_url":"https://api.github.com/users/Rombersoft/following{/other_user}","gists_url":"https://api.github.com/users/Rombersoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Rombersoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rombersoft/subscriptions","organizations_url":"https://api.github.com/users/Rombersoft/orgs","repos_url":"https://api.github.com/users/Rombersoft/repos","events_url":"https://api.github.com/users/Rombersoft/events{/privacy}","received_events_url":"https://api.github.com/users/Rombersoft/received_events","type":"User","site_admin":false},"created_at":"2018-09-07T13:54:01Z","updated_at":"2018-09-07T13:54:01Z","author_association":"NONE","body":"I'm stupid. I've not noticed that you added new option -nopre."}}
{"actor":{"display_login":"Rombersoft"}}