Comments (18)
Hi, what's the device name which you are testing?
from cordova-plugin-camera-preview.
Hi mbppower, I use a Oneplus One and I launch the camera on device ready with sceen width and height. Unfortunately the aspect ratio seems stretched. Here's a screenshot
from cordova-plugin-camera-preview.
Hi ipno84, how did you have launched the camera preview in full screen?
from cordova-plugin-camera-preview.
I set on device ready the camera preview like this
cordova.plugins.camerapreview.startCamera({x: 0, y: 0, width: cameraWidth, height: cameraHeight}, "front", tapEnabled, dragEnabled, toBack);
where cameraWidth and cameraHeight are screen.width and screen.height
the deviceready listener is launched inside a DOMContentLoaded listener
from cordova-plugin-camera-preview.
Have you got something new about this issue?
from cordova-plugin-camera-preview.
thanks for this great plugin
@mbppower i am also experiencing the same issue samsung galaxy s3
when i switch the camera the resolution automatically corrected
do you have any fix for this
from cordova-plugin-camera-preview.
hi,can i get some update on this
from cordova-plugin-camera-preview.
Use this fork, its actually being updated. https://github.com/skanygin/CordovaCameraPreview
from cordova-plugin-camera-preview.
Hello Everybody,
According to @westonganger , the Resolution issue has been fixed at fork: https://github.com/skanygin/CordovaCameraPreview.
Has anybody confirmed the same? Has the issue been resolved?
Asking because, implementing the Repo will buy my whole day. And if the Resolution issue had not been fixed, then spending whole day after it is not worth.
from cordova-plugin-camera-preview.
I have successfully used it on my app without stretch I recommend that fork. I had no issues with that one.
from cordova-plugin-camera-preview.
Thank you @westonganger for the confirmation
from cordova-plugin-camera-preview.
Above fork made no difference for me
from cordova-plugin-camera-preview.
I have the same issue. When the camera is started the preview has very low quality.
It's blurred and also aspect ratio seems to be broken (visible especially when I rotate my phone while watching preview). When I take photo in this state, it's very small.
Only switching camera to front and back again solves this.
Is there any confirmed solution to this problem? I tried these mentioned here but with no positive result...
from cordova-plugin-camera-preview.
Same problem as @dzb87 here... on the cameraStart, the acquired image seems low quality resolution and apparently stretched. After switching back to front or viceversa, the camera starts to work fine. Please @westonganger have you got any news?
Exactly which part of the code is envolved/should fix this issue?
Thanks in advance.
from cordova-plugin-camera-preview.
Can we record a video in it?
from cordova-plugin-camera-preview.
On iPhone the picture taken has aspect ratio 4:3. The iPhone screen has aspect ratio 16:9. If you show a 4:3 picture on a 16:9 screen at full-screen, the resulting picture will be stretched in one direction. If I compare the iPhone on-screen camera preview (portrait, 16:9 aspect ratio) with the stored photo, there are additional pixels on the left and right in the stored photo that were not visible in the camera preview.
from cordova-plugin-camera-preview.
Is there anyone working on the video making
On Monday, November 21, 2016, Anne Blankert [email protected]
wrote:
On iPhone the picture taken has aspect ratio 4:3. The iPhone screen has
aspect ratio 16:9. If you show a 4:3 picture on a 16:9 screen at
full-screen, the resulting picture will be stretched in one direction. If I
compare the iPhone on-screen camera preview (portrait, 16:9 aspect ratio)
with the stored photo, there are additional pixels on the left and right in
the stored photo that were not visible in the camera preview.—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#43 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AS7_M88SP_ecmXuDcOBZaebp0ZqiyZegks5rAbcJgaJpZM4FAidn
.
from cordova-plugin-camera-preview.
Fixed with new version
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.