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 () {
start();
})
});
} else {
$(document).ready(function () {
start();
@@ -185,7 +185,8 @@ function initPageLoadHandler() {
destinationType: navigator.camera.DestinationType.DATA_URL,
allowEdit: true,
correctOrientation: true,
saveToPhotoAlbum: true
saveToPhotoAlbum: true,
quality: 50
});
} else {
@@ -817,7 +818,8 @@ function initMainPageHandler() {
destinationType: navigator.camera.DestinationType.DATA_URL,
allowEdit: true,
correctOrientation: true,
saveToPhotoAlbum: true
saveToPhotoAlbum: true,
quality: 100
});
} else {