Code Monkey home page Code Monkey logo

Comments (11)

westonganger avatar westonganger commented on July 18, 2024 1

This should now be fixed in master. Closing

from cordova-plugin-camera-preview.

rrath-edr avatar rrath-edr commented on July 18, 2024 1

I am facing the same issue, I have the latest code from master the issue seems persist. Please suggest how to resolve it.

from cordova-plugin-camera-preview.

parraclaudio avatar parraclaudio commented on July 18, 2024 1

I am facing the same issue, I have the latest code from master the issue seems persist. Please suggest how to resolve it.

from cordova-plugin-camera-preview.

rrNuvoPoint avatar rrNuvoPoint commented on July 18, 2024

Android/iOS? And is it the preview or captured file?

tor. 16. apr. 2015 kl. 11.27 skrev Ekta09 [email protected]:

I need to set CameraPreview orientation according to Device orientaion
i.e. Landscape or portrait.
By default it shows it wrong. How can I change it ?


Reply to this email directly or view it on GitHub
#32.

from cordova-plugin-camera-preview.

Ekta09 avatar Ekta09 commented on July 18, 2024

For my Cordova project I want it to work for both platforms android and ios. Actually proper orientation is required for both Preview and captured file, but Specially for CameraPreview as it's more important to be able to capture pic first. Thank you for your quick response.

from cordova-plugin-camera-preview.

rrNuvoPoint avatar rrNuvoPoint commented on July 18, 2024

I dont have this issue. So i ask if you Can describe the error better so i
can understand and help.
tor. 16. apr. 2015 kl. 11.30 skrev Ekta09 [email protected]:

It's my Cordova project and I want it to work for both platforms android
and ios.


Reply to this email directly or view it on GitHub
#32 (comment)
.

from cordova-plugin-camera-preview.

Ekta09 avatar Ekta09 commented on July 18, 2024

screenshot_2015-04-16-16-10-05
screenshot_2015-04-16-16-07-18
See these two screen shots in my phone.. 2nd image is in portrait mode : In that cameraPreview is opening in portrait mode.
In 1st image I changed my device orientation to landscape mode but cameraPreview is still showing preview in portrait mode. while captured image is proper according to landscape only.

So here there is a problem with cameraPreview. I hope I have given enough detail. Thank you..

from cordova-plugin-camera-preview.

rrNuvoPoint avatar rrNuvoPoint commented on July 18, 2024

You have. Looking through the code. It dose not seem to support this option
(minor change). If the autor had not corrected this at monday, i will fork
a version and correct it for you. :-)
tor. 16. apr. 2015 kl. 13.05 skrev Ekta09 [email protected]:

[image: screenshot_2015-04-16-16-10-05]
https://cloud.githubusercontent.com/assets/10953781/7179452/98e7648c-e455-11e4-8f08-d3e20ad2f863.png
[image: screenshot_2015-04-16-16-07-18]
https://cloud.githubusercontent.com/assets/10953781/7179451/98e75168-e455-11e4-8a8f-7650556c06e7.png
See these two screen shots in my phone.. 1st image is in portrait mode :
In that cameraPreview is opening in portrait mode.
In 2nd image I changed my device orientation to landscape mode but
cameraPreview is still showing preview in portrait mode. while captured
image is proper according to landscape only.

So here there is a problem with cameraPreview. I hope I have given enough
detail. Thank you..


Reply to this email directly or view it on GitHub
#32 (comment)
.

from cordova-plugin-camera-preview.

Ekta09 avatar Ekta09 commented on July 18, 2024

I think I have got to know where the problem is..

  1. If we start camera in portrait mode, CameraPreview opens up in portrait mode only.
  2. In case of Landscape mode, When I make my device orientation as landscape first and then if I start camera, CameraPreview opens up as landscape mode only.
  3. But in case if camera is already started in landscape/portrait mode and during that if we change device orientation, It doesn't get changed again. Means I need to restart my camera if I want to change device orientation and cameraPreview orientation accordingly. !
    I have attached here screenshots to show that, I hope it helps. Thanks.

screenshot_2015-04-16-16-15-32
screenshot_2015-04-16-16-16-53

from cordova-plugin-camera-preview.

Ekta09 avatar Ekta09 commented on July 18, 2024

Its really so kind of you. Thanks a ton . :)

Note: in iOS Preview view is working fine(view from camera is changing accordingly) but Preview box dimensions aren't being changed. i.e. Portrait mode preview box Height should be width in landscape and, width of portrait should be height in landscape.

from cordova-plugin-camera-preview.

rrNuvoPoint avatar rrNuvoPoint commented on July 18, 2024

Sorry.. I can't seem to reproduce this error on my device so cannot solve it..

from cordova-plugin-camera-preview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.