Questions tagged [getpicture]

An Apache Cordova camera function, getPicture takes a photo using the camera or retrieves a photo from the device's album.

An Apache Cordova camera function, getPicture takes a photo using the camera or retrieves a photo from the device's album.

Source: Apache Cordova getPicture documentation

24 questions
0
votes
1 answer

Cordova Camera getPicture from gallery not retrieving file extension

I am currently using the cordova camera getPicture and it doesn't seem to be retrieving the file extension/type even though I have stated the encoding type. navigator.camera.getPicture(onSuccess, onError, { quality : 50, …
J.Do
  • 303
  • 6
  • 26
0
votes
1 answer

Ionic 2 - Base 64 image not displayed when taking picture

This ones had me scratching my head for a few hours and its driving me insane now. When I click the 'Take Picture' button, the camera opens as expected, but the imageData that gets returned does not display in the app. Take Picture HTML
Kieran Chadwick
  • 116
  • 1
  • 1
  • 6
0
votes
0 answers

Cordova get image name

I research lots of article but i coudlnt figure out.I want to upload image with taking photo but cant get the exact name of image to take it from phone. $scope.takePicture = function () { var options = { destinationType:…
erdemgunenc
  • 969
  • 3
  • 14
  • 25
0
votes
1 answer

Ionic 1, firebase storage, cordova.getPictures, not save images?

I'm programming an application with ionic 1 and firebase 3. I want to upload an image to the storage of firebase. When I use html fileupload the image is saved but when i use "cordova.getPictures" the image is not saved. The…
0
votes
1 answer

Get current display Picture Box image while its image and background image are null

The picture box Handle is passed to the external library. After specified event is triggered, then result picture is display on the picture box. I tried to get the picture box content to save to picture but I found that pictureBox.Image = null …
V-SHY
  • 3,925
  • 4
  • 31
  • 47
0
votes
0 answers

Camera Phonegap

I'm trying to get a low quality image from the cordova camera plugin on phonegap, I'm passing the quality params. But whatever percentage I send I still get the full quality. var options = { quality: 5, destinationType: 1, sourceType: 1, …
Gabriel Lopes
  • 943
  • 6
  • 11
  • 20
0
votes
1 answer

Can iPhone 5, 6 or 6+ take a PICTURE with both cameras at the same time?

I found some answers regarding both front and back camera usage at the same time regarding AUDIO/VIDEO recording, which is impossible. In detail here: Can the iPhone4 record from both front and rear-facing camera at the same time? However, is it…
0
votes
0 answers

phonegap application reloads when returning from browsing for a file/photo

I want to browse for and upload a file to a server using phonegap. The problem is, that on my phone (droid) once I select a file and the focus returns to my app, it reloads as if I just opened it. I'm using build.phongap.com and my build for ios…
benino
  • 577
  • 2
  • 6
  • 16
-2
votes
3 answers

When i run this command " cascPath = sys.argv[1] " i get error IndexError: list index out of range

I am using a Raspberry Pi 3 Model B, with Raspbian, opencv 2.x and Python 3 installed. I want to access my USB Webcam and take a picture with it. I've found tons of code but none are of any use. I found one which is better but when I run the…
Umair Assad
  • 69
  • 1
  • 2
  • 10
1
2