Webserver: -fixe: photo quality is bad (using phonegap)
This commit is contained in:
1 parent
8c7fdc050f
commit
57770da524
1 file changed
+5
-3
@@ -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 {
|
||||||
|
|||||||
Reference in new issue
Block a user