I followed Nic Raboy's tutorial and was able to get everything using the following settings: allowEdit, targetWidth and targetHeight.
Tutorial URL - https://blog.nraboy.com/2014/09/use-android-ios-camera-ionic-framework/
If you need help just let me know
Good luck
JS controller
cameraApp.controller("cameraApp", function($scope, $cordovaCamera) { $scope.takePicture = function() { var options = { quality : 75, destinationType : Camera.DestinationType.DATA_URL, sourceType : Camera.PictureSourceType.CAMERA, allowEdit : true, encodingType: Camera.EncodingType.JPEG, targetWidth: 300, targetHeight: 300, popoverOptions: CameraPopoverOptions, saveToPhotoAlbum: false }; $cordovaCamera.getPicture(options).then(function(imageData) { $scope.imgURI = "data:image/jpeg;base64," + imageData; }, function(err) {
user4495161
source share