{"action":"created","issue":{"url":"https://api.github.com/repos/alexk111/ngImgCrop/issues/38","labels_url":"https://api.github.com/repos/alexk111/ngImgCrop/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/alexk111/ngImgCrop/issues/38/comments","events_url":"https://api.github.com/repos/alexk111/ngImgCrop/issues/38/events","html_url":"https://github.com/alexk111/ngImgCrop/issues/38","id":51890430,"number":38,"title":"Great things are there but why not aspect ration configurations provided.","user":{"login":"yasir1","id":6650644,"avatar_url":"https://avatars.githubusercontent.com/u/6650644?v=3","gravatar_id":"","url":"https://api.github.com/users/yasir1","html_url":"https://github.com/yasir1","followers_url":"https://api.github.com/users/yasir1/followers","following_url":"https://api.github.com/users/yasir1/following{/other_user}","gists_url":"https://api.github.com/users/yasir1/gists{/gist_id}","starred_url":"https://api.github.com/users/yasir1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yasir1/subscriptions","organizations_url":"https://api.github.com/users/yasir1/orgs","repos_url":"https://api.github.com/users/yasir1/repos","events_url":"https://api.github.com/users/yasir1/events{/privacy}","received_events_url":"https://api.github.com/users/yasir1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-12-13T15:20:33Z","updated_at":"2015-04-06T17:42:38Z","closed_at":null,"body":"@alexk111\r\n\r\nPlease highlight how we can change or even hard-code  aspect ration (2x,y or 2:1). \r\n\r\nAlso some one mentioned following code as given below but I can not find that code area \r\n\r\n```\r\nelse if (areaType === \"rectangle\" && this._aspectRatio !== null) {\r\n            var canvasH = this._ctx.canvas.height;\r\n            var heightWithRatio = newSize.w / this._aspectRatio;\r\n\r\n            if (heightWithRatio < canvasH && se.y < canvasH) {\r\n                newSize.h = newSize.w / this._aspectRatio;\r\n            }\r\n            else {\r\n                if((newSize.h * this._aspectRatio) <= canvasW) {\r\n                    newSize.w = newSize.h * this._aspectRatio;\r\n                }\r\n                else {\r\n                    newSize.h = newSize.w / this._aspectRatio;\r\n                }\r\n            }\r\n        }\r\n```"},"comment":{"url":"https://api.github.com/repos/alexk111/ngImgCrop/issues/comments/90168139","html_url":"https://github.com/alexk111/ngImgCrop/issues/38#issuecomment-90168139","issue_url":"https://api.github.com/repos/alexk111/ngImgCrop/issues/38","id":90168139,"user":{"login":"Younderboy","id":11473143,"avatar_url":"https://avatars.githubusercontent.com/u/11473143?v=3","gravatar_id":"","url":"https://api.github.com/users/Younderboy","html_url":"https://github.com/Younderboy","followers_url":"https://api.github.com/users/Younderboy/followers","following_url":"https://api.github.com/users/Younderboy/following{/other_user}","gists_url":"https://api.github.com/users/Younderboy/gists{/gist_id}","starred_url":"https://api.github.com/users/Younderboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Younderboy/subscriptions","organizations_url":"https://api.github.com/users/Younderboy/orgs","repos_url":"https://api.github.com/users/Younderboy/repos","events_url":"https://api.github.com/users/Younderboy/events{/privacy}","received_events_url":"https://api.github.com/users/Younderboy/received_events","type":"User","site_admin":false},"created_at":"2015-04-06T17:42:38Z","updated_at":"2015-04-06T17:42:38Z","body":"I would be very interested in such feature as well!"}}