{"action":"created","issue":{"url":"https://api.github.com/repos/edent/SuperTinySocialIcons/issues/30","repository_url":"https://api.github.com/repos/edent/SuperTinySocialIcons","labels_url":"https://api.github.com/repos/edent/SuperTinySocialIcons/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/edent/SuperTinySocialIcons/issues/30/comments","events_url":"https://api.github.com/repos/edent/SuperTinySocialIcons/issues/30/events","html_url":"https://github.com/edent/SuperTinySocialIcons/pull/30","id":222551706,"number":30,"title":"Optimised PNGs","user":{"login":"Martin-Pitt","id":7586051,"avatar_url":"https://avatars3.githubusercontent.com/u/7586051?v=3","gravatar_id":"","url":"https://api.github.com/users/Martin-Pitt","html_url":"https://github.com/Martin-Pitt","followers_url":"https://api.github.com/users/Martin-Pitt/followers","following_url":"https://api.github.com/users/Martin-Pitt/following{/other_user}","gists_url":"https://api.github.com/users/Martin-Pitt/gists{/gist_id}","starred_url":"https://api.github.com/users/Martin-Pitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Martin-Pitt/subscriptions","organizations_url":"https://api.github.com/users/Martin-Pitt/orgs","repos_url":"https://api.github.com/users/Martin-Pitt/repos","events_url":"https://api.github.com/users/Martin-Pitt/events{/privacy}","received_events_url":"https://api.github.com/users/Martin-Pitt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-04-18T21:31:31Z","updated_at":"2017-04-18T21:55:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/edent/SuperTinySocialIcons/pulls/30","html_url":"https://github.com/edent/SuperTinySocialIcons/pull/30","diff_url":"https://github.com/edent/SuperTinySocialIcons/pull/30.diff","patch_url":"https://github.com/edent/SuperTinySocialIcons/pull/30.patch"},"body":"Ran original PNGs with ImageOptim first for lossless compression. (ImageOptim is nice and automated)\r\n\r\nThen created a new set by going through ImageAlpha for more serious cost-savings. (ImageAlpha is great when you want to get serious)"},"comment":{"url":"https://api.github.com/repos/edent/SuperTinySocialIcons/issues/comments/294995582","html_url":"https://github.com/edent/SuperTinySocialIcons/pull/30#issuecomment-294995582","issue_url":"https://api.github.com/repos/edent/SuperTinySocialIcons/issues/30","id":294995582,"user":{"login":"Martin-Pitt","id":7586051,"avatar_url":"https://avatars3.githubusercontent.com/u/7586051?v=3","gravatar_id":"","url":"https://api.github.com/users/Martin-Pitt","html_url":"https://github.com/Martin-Pitt","followers_url":"https://api.github.com/users/Martin-Pitt/followers","following_url":"https://api.github.com/users/Martin-Pitt/following{/other_user}","gists_url":"https://api.github.com/users/Martin-Pitt/gists{/gist_id}","starred_url":"https://api.github.com/users/Martin-Pitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Martin-Pitt/subscriptions","organizations_url":"https://api.github.com/users/Martin-Pitt/orgs","repos_url":"https://api.github.com/users/Martin-Pitt/repos","events_url":"https://api.github.com/users/Martin-Pitt/events{/privacy}","received_events_url":"https://api.github.com/users/Martin-Pitt/received_events","type":"User","site_admin":false},"created_at":"2017-04-18T21:55:03Z","updated_at":"2017-04-18T21:55:03Z","body":"Thankfully the SVG is superior as it's an awesome format. However wanted to give PNG a bit more of a fighting chance.\r\n\r\nI do wonder if the margins are less when the logo becomes more complex.\r\n\r\n\r\nTo go off on a bit of a tangent:-\r\n\r\nIf I wanted to be REALLY nitpicky...\r\n\r\nObviously the PNGs really hurt from the 512x512 resolution, which is not exactly a common size I see icons at.\r\nIf I take the github.png and resize it at 32x32 and scale it up to account for a DPI of 3.0 (96x96) and optimise it with ImageAlpha it sits at 710b, which is less than the svg equivalent of 765b.\r\n\r\nHOWEVER, I think SVGs have so many advantages that should be highlighted in this repo beyond cost saving, such as being able to include it directly in a HTML page and take advantage of features such as being able to recolour it with CSS dynamically or in context, animate it, or do whatever with it.\r\nAlso the ability to re-use an asset easily across projects or in any context without having to worry about whatever resolution it is at and that changing the colour is one quick change in your favourite code editor."}}
{"actor":{"display_login":"Martin-Pitt"}}