{"action":"created","issue":{"url":"https://api.github.com/repos/svg/svgo/issues/294","labels_url":"https://api.github.com/repos/svg/svgo/issues/294/labels{/name}","comments_url":"https://api.github.com/repos/svg/svgo/issues/294/comments","events_url":"https://api.github.com/repos/svg/svgo/issues/294/events","html_url":"https://github.com/svg/svgo/issues/294","id":52751665,"number":294,"title":"Not applying optional parameters of rotate()","user":{"login":"romeovs","id":1250185,"avatar_url":"https://avatars.githubusercontent.com/u/1250185?v=3","gravatar_id":"","url":"https://api.github.com/users/romeovs","html_url":"https://github.com/romeovs","followers_url":"https://api.github.com/users/romeovs/followers","following_url":"https://api.github.com/users/romeovs/following{/other_user}","gists_url":"https://api.github.com/users/romeovs/gists{/gist_id}","starred_url":"https://api.github.com/users/romeovs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romeovs/subscriptions","organizations_url":"https://api.github.com/users/romeovs/orgs","repos_url":"https://api.github.com/users/romeovs/repos","events_url":"https://api.github.com/users/romeovs/events{/privacy}","received_events_url":"https://api.github.com/users/romeovs/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/svg/svgo/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-12-23T16:01:46Z","updated_at":"2015-03-30T12:22:44Z","closed_at":"2015-03-22T15:15:39Z","body":"I find that the `convertTransforms` plugin does more harm than good often. For instance, it converts [this](data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%22-100%20-100%20200%20200%22%3E%0D%0A%20%20%20%20%3Cpath%20d%3D%22M12.6%208.6l-3.1-3.2-3.1%203.2-.8-.7%203.9-3.9%203.9%203.9zM9%205h1v10h-1z%22%20transform%3D%22rotate%28-90%209.5%209.5%29%22%20%3E%3C%2Fpath%3E%0D%0A%3C%2Fsvg%3E):\r\n\r\n```svg\r\n<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"-100 -100 200 200\">\r\n    <path d=\"M12.6 8.6l-3.1-3.2-3.1 3.2-.8-.7 3.9-3.9 3.9 3.9zM9 5h1v10h-1z\" transform=\"rotate(-90 9.5 9.5)\" ></path>\r\n</svg>\r\n```\r\n\r\ninto [this](data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%22-100%20-100%20200%20200%22%3E%0D%0A%20%20%20%20%3Cpath%20d%3D%22M8.6-12.6L5.4-9.5l3.2%203.1-.7.8L4-9.5l3.9-3.9zm.4%2024.8v-1h10v1z%22%2F%3E%0D%0A%3C%2Fsvg%3E)\r\n\r\n```svg\r\n<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"-100 -100 200 200\">\r\n    <path d=\"M8.6-12.6L5.4-9.5l3.2 3.1-.7.8L4-9.5l3.9-3.9zm.4 24.8v-1h10v1z\"/>\r\n</svg>\r\n```\r\n\r\nThis is a complety different image.\r\n\r\nI'm guessing the math is off somewhere."},"comment":{"url":"https://api.github.com/repos/svg/svgo/issues/comments/87655852","html_url":"https://github.com/svg/svgo/issues/294#issuecomment-87655852","issue_url":"https://api.github.com/repos/svg/svgo/issues/294","id":87655852,"user":{"login":"GreLI","id":1467392,"avatar_url":"https://avatars.githubusercontent.com/u/1467392?v=3","gravatar_id":"","url":"https://api.github.com/users/GreLI","html_url":"https://github.com/GreLI","followers_url":"https://api.github.com/users/GreLI/followers","following_url":"https://api.github.com/users/GreLI/following{/other_user}","gists_url":"https://api.github.com/users/GreLI/gists{/gist_id}","starred_url":"https://api.github.com/users/GreLI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GreLI/subscriptions","organizations_url":"https://api.github.com/users/GreLI/orgs","repos_url":"https://api.github.com/users/GreLI/repos","events_url":"https://api.github.com/users/GreLI/events{/privacy}","received_events_url":"https://api.github.com/users/GreLI/received_events","type":"User","site_admin":false},"created_at":"2015-03-30T12:22:44Z","updated_at":"2015-03-30T12:22:44Z","body":"[v0.5.1](https://github.com/svg/svgo/releases/tag/v0.5.1) with the fix has been just published."}}