okland / camera-ui

Meteor package for taking photos with user interface, one function call on desktop and mobile. Allows to choose between camera to photoLibrary on mobile.
28 stars 12 forks source link

Picture on android is rotated #2

Open vohtaski opened 8 years ago

vohtaski commented 8 years ago

Android is in the portrait mode, camera as well. The final picture gets rotated.

If I rotate camera into horizontal position, it works ok.

same issue on mdg:camera

any idea how to solve? android 5.0.2, samsung galaxy s5

abduljanjua commented 7 years ago

facing same issue even on android 7.0 as well on lower versions? @vohtaski have you fixed it ?

vohtaski commented 7 years ago

I actually don't remember fixing it, but it works now for me

vigile commented 7 years ago

Hello! I still have the problem. Any update?

Edgy1337 commented 6 years ago

Any update here?

zabuTNT commented 5 years ago

I fixed with correctOrientation: true in options

var options = {
        width: 250,
        height: 250,
        cameraDirection: 1,
        correctOrientation: true,
        quality: 75,
        cancel: "Cancel",
        takeImage: "Take Photo",
        imageLibrary: "Library"
    }

MeteorCameraUI.getPicture(options, myCallback);