{"action":"closed","issue":{"url":"https://api.github.com/repos/DivanDesign/MODXEvo.plugin.ManagerManager.mm_ddResizeImage/issues/1","repository_url":"https://api.github.com/repos/DivanDesign/MODXEvo.plugin.ManagerManager.mm_ddResizeImage","labels_url":"https://api.github.com/repos/DivanDesign/MODXEvo.plugin.ManagerManager.mm_ddResizeImage/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/DivanDesign/MODXEvo.plugin.ManagerManager.mm_ddResizeImage/issues/1/comments","events_url":"https://api.github.com/repos/DivanDesign/MODXEvo.plugin.ManagerManager.mm_ddResizeImage/issues/1/events","html_url":"https://github.com/DivanDesign/MODXEvo.plugin.ManagerManager.mm_ddResizeImage/issues/1","id":75578392,"number":1,"title":"Make PHPThumb quality level editable by user","user":{"login":"Aharito","id":6253807,"avatar_url":"https://avatars.githubusercontent.com/u/6253807?v=3","gravatar_id":"","url":"https://api.github.com/users/Aharito","html_url":"https://github.com/Aharito","followers_url":"https://api.github.com/users/Aharito/followers","following_url":"https://api.github.com/users/Aharito/following{/other_user}","gists_url":"https://api.github.com/users/Aharito/gists{/gist_id}","starred_url":"https://api.github.com/users/Aharito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aharito/subscriptions","organizations_url":"https://api.github.com/users/Aharito/orgs","repos_url":"https://api.github.com/users/Aharito/repos","events_url":"https://api.github.com/users/Aharito/events{/privacy}","received_events_url":"https://api.github.com/users/Aharito/received_events","type":"User","site_admin":false},"labels":[{"id":57814636,"url":"https://api.github.com/repos/DivanDesign/MODXEvo.plugin.ManagerManager.mm_ddResizeImage/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2015-05-12T12:05:21Z","updated_at":"2016-11-01T12:19:09Z","closed_at":"2016-11-01T12:19:09Z","body":"The default PHPTHumb quality level **100** hard-coded in this plugin, so plugin produced **too large** optimised images in few cases (large-size original image, for example).\n\nThis quality level 100 set in assets\\plugins\\managermanager\\widgets\\ddresizeimage\\ddresizeimage.php, line 83.\n\nIt would be very useful to **take out** this option in the user-defined plugin settings.\n\nBelow is a comparison of the size of compressed images, depending on the PHPThumb \"quality\" value (the original image is 3543 × 2362, 6.46 MB):\n- Quality level 100 - 438 KB\n- Quality level   95 - 241 KB (55%)\n- Quality level   90 - 163 KB (37%)\n- Quality level   85 - 127 KB (29%)\n\nExperiment was performed on a real site, \"quality\"  level was edited directly in the plugin  code.\n"}}
{"actor":{"display_login":"Ronef"}}