{"action":"created","issue":{"url":"https://api.github.com/repos/webcompat/webcompat.com/issues/710","labels_url":"https://api.github.com/repos/webcompat/webcompat.com/issues/710/labels{/name}","comments_url":"https://api.github.com/repos/webcompat/webcompat.com/issues/710/comments","events_url":"https://api.github.com/repos/webcompat/webcompat.com/issues/710/events","html_url":"https://github.com/webcompat/webcompat.com/issues/710","id":108621228,"number":710,"title":"Optimizing images when uploading to the server","user":{"login":"karlcow","id":505230,"avatar_url":"https://avatars.githubusercontent.com/u/505230?v=3","gravatar_id":"","url":"https://api.github.com/users/karlcow","html_url":"https://github.com/karlcow","followers_url":"https://api.github.com/users/karlcow/followers","following_url":"https://api.github.com/users/karlcow/following{/other_user}","gists_url":"https://api.github.com/users/karlcow/gists{/gist_id}","starred_url":"https://api.github.com/users/karlcow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karlcow/subscriptions","organizations_url":"https://api.github.com/users/karlcow/orgs","repos_url":"https://api.github.com/users/karlcow/repos","events_url":"https://api.github.com/users/karlcow/events{/privacy}","received_events_url":"https://api.github.com/users/karlcow/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/webcompat/webcompat.com/labels/ready","name":"ready","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"karlcow","id":505230,"avatar_url":"https://avatars.githubusercontent.com/u/505230?v=3","gravatar_id":"","url":"https://api.github.com/users/karlcow","html_url":"https://github.com/karlcow","followers_url":"https://api.github.com/users/karlcow/followers","following_url":"https://api.github.com/users/karlcow/following{/other_user}","gists_url":"https://api.github.com/users/karlcow/gists{/gist_id}","starred_url":"https://api.github.com/users/karlcow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karlcow/subscriptions","organizations_url":"https://api.github.com/users/karlcow/orgs","repos_url":"https://api.github.com/users/karlcow/repos","events_url":"https://api.github.com/users/karlcow/events{/privacy}","received_events_url":"https://api.github.com/users/karlcow/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/webcompat/webcompat.com/milestones/28","html_url":"https://github.com/webcompat/webcompat.com/milestones/Paris%20Meeting%20September%202015","labels_url":"https://api.github.com/repos/webcompat/webcompat.com/milestones/28/labels","id":1326576,"number":28,"title":"Paris Meeting September 2015","description":null,"creator":{"login":"karlcow","id":505230,"avatar_url":"https://avatars.githubusercontent.com/u/505230?v=3","gravatar_id":"","url":"https://api.github.com/users/karlcow","html_url":"https://github.com/karlcow","followers_url":"https://api.github.com/users/karlcow/followers","following_url":"https://api.github.com/users/karlcow/following{/other_user}","gists_url":"https://api.github.com/users/karlcow/gists{/gist_id}","starred_url":"https://api.github.com/users/karlcow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karlcow/subscriptions","organizations_url":"https://api.github.com/users/karlcow/orgs","repos_url":"https://api.github.com/users/karlcow/repos","events_url":"https://api.github.com/users/karlcow/events{/privacy}","received_events_url":"https://api.github.com/users/karlcow/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":24,"state":"open","created_at":"2015-09-28T11:04:11Z","updated_at":"2015-10-09T11:43:15Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2015-09-28T09:34:47Z","updated_at":"2015-10-22T07:12:54Z","closed_at":null,"body":"We may want to optimize an image when it's being uploaded:\r\n* reduce the size of the image (performance concerns)\r\n* remove EXIF data from the image (privacy concerns)\r\n\r\nDiscussed at Paris WebCompat meeting on September 2015 with @miketaylr \r\nSee https://github.com/webcompat/webcompat.com/blob/master/webcompat/api/uploads.py#L53"},"comment":{"url":"https://api.github.com/repos/webcompat/webcompat.com/issues/comments/150128247","html_url":"https://github.com/webcompat/webcompat.com/issues/710#issuecomment-150128247","issue_url":"https://api.github.com/repos/webcompat/webcompat.com/issues/710","id":150128247,"user":{"login":"magsout","id":1997108,"avatar_url":"https://avatars.githubusercontent.com/u/1997108?v=3","gravatar_id":"","url":"https://api.github.com/users/magsout","html_url":"https://github.com/magsout","followers_url":"https://api.github.com/users/magsout/followers","following_url":"https://api.github.com/users/magsout/following{/other_user}","gists_url":"https://api.github.com/users/magsout/gists{/gist_id}","starred_url":"https://api.github.com/users/magsout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magsout/subscriptions","organizations_url":"https://api.github.com/users/magsout/orgs","repos_url":"https://api.github.com/users/magsout/repos","events_url":"https://api.github.com/users/magsout/events{/privacy}","received_events_url":"https://api.github.com/users/magsout/received_events","type":"User","site_admin":false},"created_at":"2015-10-22T07:12:53Z","updated_at":"2015-10-22T07:12:53Z","body":"> Aka someone uploads a png screenshot and we save it as jpeg instead of png?\r\n\r\nIMO I think it's better to keep original format and resolution, so the original file. If in the futur we want to use png or jpeg or better resolution we have original file so better to improve what we want."}}