donaldp24 / CanvasCameraPlugin

Phonegap CanvasCameraPlugin
107 stars 119 forks source link

width and height are not working #9

Open confile opened 10 years ago

confile commented 10 years ago

Here is my configuration:

CanvasCamera.initialize(canvasMain);
                                                  // define options
                                                  var opt = {
                                                      quality: 100,
                                                      destinationType: CanvasCamera.DestinationType.DATA_URL,
                                                      encodingType: CanvasCamera.EncodingType.JPEG,
                                                      saveToPhotoAlbum:true,
                                                      correctOrientation:true,
                                                      width:1280,
                                                      height:1280
                                                  };
                                                  CanvasCamera.start(opt);

The image I get is of size 3264 × 2448 and not 1280 x 1280.

mawiseman commented 9 years ago

These don't work for me either on my iPad 2.0