Webserver: -fixe: photo quality is bad (using phonegap)

This commit is contained in:
lukeIam committed 2013-12-13 18:03:07 +01:00
1 parent 8c7fdc050f
commit 57770da524
1 file changed
+5 -3
+5 -3
View File
@@ -14,7 +14,7 @@ if (document.location.protocol == "file:") {
} }
window.deviceAndJqmLoaded.done(function () { window.deviceAndJqmLoaded.done(function () {
start(); start();
}) });
} else { } else {
$(document).ready(function () { $(document).ready(function () {
start(); start();
@@ -185,7 +185,8 @@ function initPageLoadHandler() {
destinationType: navigator.camera.DestinationType.DATA_URL, destinationType: navigator.camera.DestinationType.DATA_URL,
allowEdit: true, allowEdit: true,
correctOrientation: true, correctOrientation: true,
saveToPhotoAlbum: true saveToPhotoAlbum: true,
quality: 50
}); });
} else { } else {
@@ -817,7 +818,8 @@ function initMainPageHandler() {
destinationType: navigator.camera.DestinationType.DATA_URL, destinationType: navigator.camera.DestinationType.DATA_URL,
allowEdit: true, allowEdit: true,
correctOrientation: true, correctOrientation: true,
saveToPhotoAlbum: true saveToPhotoAlbum: true,
quality: 100
}); });
} else { } else {