{"issue":{"state":"open","created_at":"2011-11-29T09:39:03Z","updated_at":"2011-11-29T09:39:10Z","user":{"gravatar_id":"256406243346b9253f8610fb1d1e05f6","id":1215373,"url":"https://api.github.com/users/importer","avatar_url":"https://secure.gravatar.com/avatar/256406243346b9253f8610fb1d1e05f6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"importer"},"comments":6,"body":"If I upload 8-bit PNG that is bigger, then it is allowed, while resizing (by the way, what library does it? GD/GD2 or Image Magic? IM is better) the output PNG will be 32-bit with huge filesize.\nThere are very good instruments to automaticly optimize PNG with no quality loss: PNGout (http://advsys.net/ken/utils.htm) and OptiPNG (http://optipng.sourceforge.net/)\nThe best result is schieved by using both.\nIt would be very good to use this tools to optimize output PNG\n\n[Download the attachments](http://www.contao.org/tl_files/tickets/2426.zip \"Download the attachments of this ticket\")\n\n--- _Originally created by terion on August 13th, 2010, at 12:13pm (ID 2426)_","assignee":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"leofeyer"},"id":2381996,"number":2426,"labels":[{"name":"backend","color":"e6e6e6","url":"https://api.github.com/repos/contao/test/labels/backend"},{"name":"Feature","color":"4183c4","url":"https://api.github.com/repos/contao/test/labels/Feature"}],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"title":"PNG optimisation while resize","closed_at":null,"html_url":"https://github.com/contao/test/issues/2426","url":"https://api.github.com/repos/contao/test/issues/2426","milestone":{"state":"open","created_at":"2011-11-29T05:27:05Z","due_on":null,"closed_issues":20,"creator":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"leofeyer"},"number":32,"description":"Contao 2.10.0 (minor release)","title":"2.10.0","url":"https://api.github.com/repos/contao/test/milestones/32","open_issues":1}},"action":"created","comment":{"created_at":"2011-11-29T09:39:06Z","updated_at":"2011-11-29T09:39:06Z","user":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"leofeyer"},"body":"I can confirm the issue but I don't really know what is causing it. Did you report this in the developer's forum? It might be a GDlib issue.\n\n--- _Originally created on September 13th, 2010, at 11:32am_","id":2925371,"url":"https://api.github.com/repos/contao/test/issues/comments/2925371"}}