{"action":"created","issue":{"url":"https://api.github.com/repos/UniversalViewer/universalviewer/issues/387","repository_url":"https://api.github.com/repos/UniversalViewer/universalviewer","labels_url":"https://api.github.com/repos/UniversalViewer/universalviewer/issues/387/labels{/name}","comments_url":"https://api.github.com/repos/UniversalViewer/universalviewer/issues/387/comments","events_url":"https://api.github.com/repos/UniversalViewer/universalviewer/issues/387/events","html_url":"https://github.com/UniversalViewer/universalviewer/issues/387","id":180827885,"number":387,"title":"download option \"currentViewAsJpg\" does not honour maxWidth/maxHeight","user":{"login":"nicolasfranck","id":494636,"avatar_url":"https://avatars.githubusercontent.com/u/494636?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolasfranck","html_url":"https://github.com/nicolasfranck","followers_url":"https://api.github.com/users/nicolasfranck/followers","following_url":"https://api.github.com/users/nicolasfranck/following{/other_user}","gists_url":"https://api.github.com/users/nicolasfranck/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolasfranck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolasfranck/subscriptions","organizations_url":"https://api.github.com/users/nicolasfranck/orgs","repos_url":"https://api.github.com/users/nicolasfranck/repos","events_url":"https://api.github.com/users/nicolasfranck/events{/privacy}","received_events_url":"https://api.github.com/users/nicolasfranck/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-04T07:59:01Z","updated_at":"2016-10-05T20:38:21Z","closed_at":"2016-10-05T08:37:13Z","body":"If I add maxWidth and maxHeight to info.json,\r\nthen this is honoured by both download options wholeImageHighRes and wholeImageLowRes\r\n(who use the method getCanvasComputedDimensions to limit their width and height),\r\nbut not by currentViewAsJpg where the maximum dimensions are not taken into account.\r\n"},"comment":{"url":"https://api.github.com/repos/UniversalViewer/universalviewer/issues/comments/251792410","html_url":"https://github.com/UniversalViewer/universalviewer/issues/387#issuecomment-251792410","issue_url":"https://api.github.com/repos/UniversalViewer/universalviewer/issues/387","id":251792410,"user":{"login":"nicolasfranck","id":494636,"avatar_url":"https://avatars.githubusercontent.com/u/494636?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolasfranck","html_url":"https://github.com/nicolasfranck","followers_url":"https://api.github.com/users/nicolasfranck/followers","following_url":"https://api.github.com/users/nicolasfranck/following{/other_user}","gists_url":"https://api.github.com/users/nicolasfranck/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolasfranck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolasfranck/subscriptions","organizations_url":"https://api.github.com/users/nicolasfranck/orgs","repos_url":"https://api.github.com/users/nicolasfranck/repos","events_url":"https://api.github.com/users/nicolasfranck/events{/privacy}","received_events_url":"https://api.github.com/users/nicolasfranck/received_events","type":"User","site_admin":false},"created_at":"2016-10-05T20:38:21Z","updated_at":"2016-10-05T20:38:21Z","body":"https://github.com/UniversalViewer/universalviewer/pull/392"}}
{"actor":{"display_login":"nicolasfranck"}}