{"action":"created","issue":{"url":"https://api.github.com/repos/pornel/ImageOptim/issues/17","labels_url":"https://api.github.com/repos/pornel/ImageOptim/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/pornel/ImageOptim/issues/17/comments","events_url":"https://api.github.com/repos/pornel/ImageOptim/issues/17/events","html_url":"https://github.com/pornel/ImageOptim/issues/17","id":16034152,"number":17,"title":"UI for lossy/aggressive optimizations","user":{"login":"pornel","id":72159,"avatar_url":"https://avatars.githubusercontent.com/u/72159?v=3","gravatar_id":"","url":"https://api.github.com/users/pornel","html_url":"https://github.com/pornel","followers_url":"https://api.github.com/users/pornel/followers","following_url":"https://api.github.com/users/pornel/following{/other_user}","gists_url":"https://api.github.com/users/pornel/gists{/gist_id}","starred_url":"https://api.github.com/users/pornel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pornel/subscriptions","organizations_url":"https://api.github.com/users/pornel/orgs","repos_url":"https://api.github.com/users/pornel/repos","events_url":"https://api.github.com/users/pornel/events{/privacy}","received_events_url":"https://api.github.com/users/pornel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pornel/ImageOptim/labels/needs%20feedback","name":"needs feedback","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":59,"created_at":"2013-06-26T14:04:35Z","updated_at":"2015-08-16T10:09:42Z","closed_at":null,"body":"I'd like to hear suggestions how to implement lossy optimizations:\r\n\r\n* [pngquant](http://pngquant.org) can reduce PNG file size by 70%, but sometimes quality degradation is noticeable, and those files expose Photoshop's lousy PNG support (CS5 can't load them, CS6 can't save them).\r\n\r\n* Issue #5 — most SVG optimizations are unsafe if SVG contains scripts or author wants to keep editing the file.\r\n\r\n* JPEGs sometimes are stored with unnecessarily high quality, and there are tools like [adept](https://github.com/technopagan/adept-jpg-compressor) and JPEGmini that try to recompress JPEGs at lowest possible quality.\r\n\r\n* Converting non-animated GIFs, TIFFs, BMP to PNG or JPEG. What about filename extension?\r\n\r\nSo the problem is that in 90% of cases those optimizations are awesome, but in some cases they may ruin the file.\r\n\r\nImageOptim's ease of use mainly comes from the fact that it overwrites files in place with no fuss, but that can't be done with dangerous optimizations.\r\n\r\nHow could these optimizations be done? (all modal dialog boxes such as \"Are you sure?\" are out of the question :)\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/pornel/ImageOptim/issues/comments/131519679","html_url":"https://github.com/pornel/ImageOptim/issues/17#issuecomment-131519679","issue_url":"https://api.github.com/repos/pornel/ImageOptim/issues/17","id":131519679,"user":{"login":"pornel","id":72159,"avatar_url":"https://avatars.githubusercontent.com/u/72159?v=3","gravatar_id":"","url":"https://api.github.com/users/pornel","html_url":"https://github.com/pornel","followers_url":"https://api.github.com/users/pornel/followers","following_url":"https://api.github.com/users/pornel/following{/other_user}","gists_url":"https://api.github.com/users/pornel/gists{/gist_id}","starred_url":"https://api.github.com/users/pornel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pornel/subscriptions","organizations_url":"https://api.github.com/users/pornel/orgs","repos_url":"https://api.github.com/users/pornel/repos","events_url":"https://api.github.com/users/pornel/events{/privacy}","received_events_url":"https://api.github.com/users/pornel/received_events","type":"User","site_admin":false},"created_at":"2015-08-16T10:09:42Z","updated_at":"2015-08-16T10:09:42Z","body":"Here's a test build: https://imageoptim.com/ImageOptim1.6.1a2.tar.bz2\r\n\r\nDropping images while holding Alt switches on lossy mode*. Does that improve things?\r\n\r\n*) it's a quick hack, so in that build it works only on the first drop.\r\n\r\nThe trickiness with alt-drop:\r\n\r\n* Impossible to discover for new users. How would you fix that?\r\n* What UI should look like once the file list is visible?\r\n* What should happen if the list already contains the same file, but dropped in a different mode?\r\n"}}