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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]