{"action":"created","issue":{"url":"https://api.github.com/repos/opentoonz/opentoonz/issues/242","repository_url":"https://api.github.com/repos/opentoonz/opentoonz","labels_url":"https://api.github.com/repos/opentoonz/opentoonz/issues/242/labels{/name}","comments_url":"https://api.github.com/repos/opentoonz/opentoonz/issues/242/comments","events_url":"https://api.github.com/repos/opentoonz/opentoonz/issues/242/events","html_url":"https://github.com/opentoonz/opentoonz/issues/242","id":151018644,"number":242,"title":"Loading PNG8 files shows glitchy image","user":{"login":"kogaki","id":17926501,"avatar_url":"https://avatars.githubusercontent.com/u/17926501?v=3","gravatar_id":"","url":"https://api.github.com/users/kogaki","html_url":"https://github.com/kogaki","followers_url":"https://api.github.com/users/kogaki/followers","following_url":"https://api.github.com/users/kogaki/following{/other_user}","gists_url":"https://api.github.com/users/kogaki/gists{/gist_id}","starred_url":"https://api.github.com/users/kogaki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kogaki/subscriptions","organizations_url":"https://api.github.com/users/kogaki/orgs","repos_url":"https://api.github.com/users/kogaki/repos","events_url":"https://api.github.com/users/kogaki/events{/privacy}","received_events_url":"https://api.github.com/users/kogaki/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-26T01:24:41Z","updated_at":"2016-04-26T06:03:03Z","closed_at":null,"body":"Some PNG images cannot be loaded correctly. "},"comment":{"url":"https://api.github.com/repos/opentoonz/opentoonz/issues/comments/214624427","html_url":"https://github.com/opentoonz/opentoonz/issues/242#issuecomment-214624427","issue_url":"https://api.github.com/repos/opentoonz/opentoonz/issues/242","id":214624427,"user":{"login":"Rayek","id":10274969,"avatar_url":"https://avatars.githubusercontent.com/u/10274969?v=3","gravatar_id":"","url":"https://api.github.com/users/Rayek","html_url":"https://github.com/Rayek","followers_url":"https://api.github.com/users/Rayek/followers","following_url":"https://api.github.com/users/Rayek/following{/other_user}","gists_url":"https://api.github.com/users/Rayek/gists{/gist_id}","starred_url":"https://api.github.com/users/Rayek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rayek/subscriptions","organizations_url":"https://api.github.com/users/Rayek/orgs","repos_url":"https://api.github.com/users/Rayek/repos","events_url":"https://api.github.com/users/Rayek/events{/privacy}","received_events_url":"https://api.github.com/users/Rayek/received_events","type":"User","site_admin":false},"created_at":"2016-04-26T06:03:03Z","updated_at":"2016-04-26T06:03:03Z","body":"This is because TOonz expects full 8bit alpha channel/transparent PNG images. Any indexed and/or 1bit transparent PNG files are not read properly - which result in the weird lines in the background.\r\n\r\nI noticed that indexed PNG images with a 8bit alpha/transparency cause an instant crash in TOonz. \r\n\r\nThe solution is to open such PNG files in an image editor, and resave as full 24bit or 48bit with or without an 8bit alpha channel (full transparency).\r\n\r\nWorking with indexed PNG files is a bad idea - those are meant for optimized web and game publishing. Not for animation work."}}