Comments (11)
This should now be fixed in master. Closing
from cordova-plugin-camera-preview.
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.
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.
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.
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.
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.
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.
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.
I think I have got to know where the problem is..
- If we start camera in portrait mode, CameraPreview opens up in portrait mode only.
- 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.
- 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.
from cordova-plugin-camera-preview.
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.
Sorry.. I can't seem to reproduce this error on my device so cannot solve it..
from cordova-plugin-camera-preview.
Related Issues (20)
- Get color of touched pixel from camera preview HOT 1
- takeSnapshot return blank image HOT 1
- camera is taking entire screen height and flip and close,capture buttons are not visible in native device,Please let me know if anyone has solution for this,z index is already given same as in the code HOT 2
- is platform windows supported ? HOT 3
- is platform browser supported ? HOT 1
- error building with xcode 13.4.1 HOT 6
- How to add barcode scanning ability using another plugin?
- takePicture error only on Android 9
- How to disallow Screenshot
- Android Studio forces me to set android:exported="true" in AndroidManifest.xml HOT 1
- Image is saved as Base64 regardless of storeToFile setting
- Illegal Access HOT 1
- This plugin doesn't seem to install in Android 13, API 33 HOT 2
- takePicture does not resolve promise on iPhone 15 Pro HOT 4
- AVCaptureStillImageOutput' is deprecated: first deprecated in iOS 10.0 - Use AVCapturePhotoOutput instead.
- iPhone 13 Pro Max autofocus issue on close objects HOT 3
- Documentation wrong for takeSnapshot and takePicture
- Can not perform this action after onSaveInstanceState
- photos Android clearer
- how do i ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-camera-preview.