{"action":"created","issue":{"url":"https://api.github.com/repos/avianey/androidsvgdrawable-plugin/issues/38","labels_url":"https://api.github.com/repos/avianey/androidsvgdrawable-plugin/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/avianey/androidsvgdrawable-plugin/issues/38/comments","events_url":"https://api.github.com/repos/avianey/androidsvgdrawable-plugin/issues/38/events","html_url":"https://github.com/avianey/androidsvgdrawable-plugin/issues/38","id":103655854,"number":38,"title":"Provide possibility to specify custom scaling","user":{"login":"viliam-durina","id":9109877,"avatar_url":"https://avatars.githubusercontent.com/u/9109877?v=3","gravatar_id":"","url":"https://api.github.com/users/viliam-durina","html_url":"https://github.com/viliam-durina","followers_url":"https://api.github.com/users/viliam-durina/followers","following_url":"https://api.github.com/users/viliam-durina/following{/other_user}","gists_url":"https://api.github.com/users/viliam-durina/gists{/gist_id}","starred_url":"https://api.github.com/users/viliam-durina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viliam-durina/subscriptions","organizations_url":"https://api.github.com/users/viliam-durina/orgs","repos_url":"https://api.github.com/users/viliam-durina/repos","events_url":"https://api.github.com/users/viliam-durina/events{/privacy}","received_events_url":"https://api.github.com/users/viliam-durina/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-08-28T06:24:43Z","updated_at":"2015-08-28T08:55:17Z","closed_at":null,"body":"Most svg icons I download from internet have canvas size of about 512 pixels. Even if I specify xxxhdpi (which has factor of 4), the icon is still 128dp large, while icons on buttons normally have 24dp or so.\r\n\r\nI know I can resize the icon in Inkscape, but this is cumbersome. Could it be possible to specify the scale factor manually, such as using \"factor_6.4\" in place of the density specifier?"},"comment":{"url":"https://api.github.com/repos/avianey/androidsvgdrawable-plugin/issues/comments/135690206","html_url":"https://github.com/avianey/androidsvgdrawable-plugin/issues/38#issuecomment-135690206","issue_url":"https://api.github.com/repos/avianey/androidsvgdrawable-plugin/issues/38","id":135690206,"user":{"login":"viliam-durina","id":9109877,"avatar_url":"https://avatars.githubusercontent.com/u/9109877?v=3","gravatar_id":"","url":"https://api.github.com/users/viliam-durina","html_url":"https://github.com/viliam-durina","followers_url":"https://api.github.com/users/viliam-durina/followers","following_url":"https://api.github.com/users/viliam-durina/following{/other_user}","gists_url":"https://api.github.com/users/viliam-durina/gists{/gist_id}","starred_url":"https://api.github.com/users/viliam-durina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viliam-durina/subscriptions","organizations_url":"https://api.github.com/users/viliam-durina/orgs","repos_url":"https://api.github.com/users/viliam-durina/repos","events_url":"https://api.github.com/users/viliam-durina/events{/privacy}","received_events_url":"https://api.github.com/users/viliam-durina/received_events","type":"User","site_admin":false},"created_at":"2015-08-28T08:55:17Z","updated_at":"2015-08-28T08:55:17Z","body":"It's good also. This way you don't depend on further resize (or replacing with completely different icon with completely different size).\r\n\r\nBut it's 24px width or height? What about \"svgName-w24dp.svg\". This will mean, that width will be 24dp, which is 24px for mdpi. This is more readable."}}