9
0
mirror of https://gitee.com/shuto/customCamera.git synced 2026-05-02 00:07:24 +08:00

Ajout d'une option pour changer l'image en surimpression en fonction de l'orientation de l'écran.

This commit is contained in:
Christophe Boucaut
2015-01-29 18:58:52 +01:00
parent 9e0b9348f5
commit c785aed2b1
5 changed files with 58 additions and 9 deletions
+2
View File
@@ -17,6 +17,7 @@
CustomCameraExport.prototype.startCamera = function(options, successFct, failFct) {
var defaultOptions = {
imgBackgroundBase64: null, // background picture in base64.
imgBackgroundBase64OtherOrientation: null, // background picture in base64 for second orientation. If it's not defined, imgBackgroundBase64 is used.
miniature: true, // active or disable the miniature function.
saveInGallery: false, // save or not the picture in gallery.
cameraBackgroundColor: "#e26760", // color of the camera button.
@@ -47,6 +48,7 @@
"startCamera",
[
options.imgBackgroundBase64,
options.imgBackgroundBase64OtherOrientation,
options.miniature,
options.saveInGallery,
options.cameraBackgroundColor,