{"action":"created","issue":{"url":"https://api.github.com/repos/MonoGame/MonoGame/issues/6424","repository_url":"https://api.github.com/repos/MonoGame/MonoGame","labels_url":"https://api.github.com/repos/MonoGame/MonoGame/issues/6424/labels{/name}","comments_url":"https://api.github.com/repos/MonoGame/MonoGame/issues/6424/comments","events_url":"https://api.github.com/repos/MonoGame/MonoGame/issues/6424/events","html_url":"https://github.com/MonoGame/MonoGame/issues/6424","id":355651756,"node_id":"MDU6SXNzdWUzNTU2NTE3NTY=","number":6424,"title":"16bit per channel PNG images are incorrectly imported by the content-pipeline tool","user":{"login":"roy-t","id":623634,"node_id":"MDQ6VXNlcjYyMzYzNA==","avatar_url":"https://avatars1.githubusercontent.com/u/623634?v=4","gravatar_id":"","url":"https://api.github.com/users/roy-t","html_url":"https://github.com/roy-t","followers_url":"https://api.github.com/users/roy-t/followers","following_url":"https://api.github.com/users/roy-t/following{/other_user}","gists_url":"https://api.github.com/users/roy-t/gists{/gist_id}","starred_url":"https://api.github.com/users/roy-t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roy-t/subscriptions","organizations_url":"https://api.github.com/users/roy-t/orgs","repos_url":"https://api.github.com/users/roy-t/repos","events_url":"https://api.github.com/users/roy-t/events{/privacy}","received_events_url":"https://api.github.com/users/roy-t/received_events","type":"User","site_admin":false},"labels":[{"id":185445795,"node_id":"MDU6TGFiZWwxODU0NDU3OTU=","url":"https://api.github.com/repos/MonoGame/MonoGame/labels/Help%20Wanted","name":"Help Wanted","color":"009800","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/MonoGame/MonoGame/milestones/11","html_url":"https://github.com/MonoGame/MonoGame/milestone/11","labels_url":"https://api.github.com/repos/MonoGame/MonoGame/milestones/11/labels","id":1647175,"node_id":"MDk6TWlsZXN0b25lMTY0NzE3NQ==","number":11,"title":"3.7 Release","description":"","creator":{"login":"tomspilman","id":103522,"node_id":"MDQ6VXNlcjEwMzUyMg==","avatar_url":"https://avatars2.githubusercontent.com/u/103522?v=4","gravatar_id":"","url":"https://api.github.com/users/tomspilman","html_url":"https://github.com/tomspilman","followers_url":"https://api.github.com/users/tomspilman/followers","following_url":"https://api.github.com/users/tomspilman/following{/other_user}","gists_url":"https://api.github.com/users/tomspilman/gists{/gist_id}","starred_url":"https://api.github.com/users/tomspilman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomspilman/subscriptions","organizations_url":"https://api.github.com/users/tomspilman/orgs","repos_url":"https://api.github.com/users/tomspilman/repos","events_url":"https://api.github.com/users/tomspilman/events{/privacy}","received_events_url":"https://api.github.com/users/tomspilman/received_events","type":"User","site_admin":false},"open_issues":21,"closed_issues":143,"state":"open","created_at":"2016-03-16T04:39:49Z","updated_at":"2018-08-30T19:33:02Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2018-08-30T16:00:30Z","updated_at":"2018-09-06T13:50:10Z","closed_at":null,"author_association":"NONE","body":"I believe PNG images that have 16 bits per channel are incorrectly processed by the content-pipeline tool. \r\n\r\nI've created an extremely minimal reproduction here: https://github.com/roy-t/monogame_16bitpp_png_bug\r\n\r\nBelow you see two textures rendered with the spritebatch, with default settings. The left sprite is a texture generated from an 8 bit per pixel PNG file, and is displayed correctly. The right sprite is a texture generated from the same PNG file, this time stored with 16 bits per pixel. As you can see the colors are completely different.\r\n\r\n![bug](https://user-images.githubusercontent.com/623634/44863637-f371a180-ac7d-11e8-8532-a2b4835fd206.png)\r\n\r\n#### What version of MonoGame does the bug occur on:\r\n- MonoGame 3.6.0.1625\r\n\r\n#### What operating system are you using:\r\n- Windows\r\n\r\n#### What MonoGame platform are you using:\r\n- Windows, DirectX\r\n"},"comment":{"url":"https://api.github.com/repos/MonoGame/MonoGame/issues/comments/419100671","html_url":"https://github.com/MonoGame/MonoGame/issues/6424#issuecomment-419100671","issue_url":"https://api.github.com/repos/MonoGame/MonoGame/issues/6424","id":419100671,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTEwMDY3MQ==","user":{"login":"Jjagg","id":14875382,"node_id":"MDQ6VXNlcjE0ODc1Mzgy","avatar_url":"https://avatars0.githubusercontent.com/u/14875382?v=4","gravatar_id":"","url":"https://api.github.com/users/Jjagg","html_url":"https://github.com/Jjagg","followers_url":"https://api.github.com/users/Jjagg/followers","following_url":"https://api.github.com/users/Jjagg/following{/other_user}","gists_url":"https://api.github.com/users/Jjagg/gists{/gist_id}","starred_url":"https://api.github.com/users/Jjagg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jjagg/subscriptions","organizations_url":"https://api.github.com/users/Jjagg/orgs","repos_url":"https://api.github.com/users/Jjagg/repos","events_url":"https://api.github.com/users/Jjagg/events{/privacy}","received_events_url":"https://api.github.com/users/Jjagg/received_events","type":"User","site_admin":false},"created_at":"2018-09-06T13:50:10Z","updated_at":"2018-09-06T13:50:10Z","author_association":"CONTRIBUTOR","body":"Fixed in #6425!"}}
{"actor":{"display_login":"Jjagg"}}