You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by muratsu <gi...@git.apache.org> on 2015/07/14 22:34:37 UTC
[GitHub] cordova-plugin-camera pull request: Correct image resolution selec...
Github user muratsu commented on the pull request:
https://github.com/apache/cordova-plugin-camera/pull/56#issuecomment-121375282
@kiwinewt thanks for the contribution. The right approach here is to take into account the max num of pixels instead of a certain height or width limit.
VeryLarge5M = 5 * 1000 * 1000;
Large3M = 3 * 1000 * 1000;
MediumXga = 1024 * 768;
SmallVga = 640 * 480;
VerySmallQvga = 320 * 240;
If you can modify the code as such, I'll be glad to accept your PR - thanks!
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org