Android: taking snapshot do not return actual camera preview
See original GitHub issueI use method CameraPreview.takeSnapshot(function (base64PictureData) )
, because we taking not standard size of picture and it is important feature. So method takePicture()
does not fit for my situation. Seems on android phones and tablet plugin is making picture bigger that actual size of camera preview. I tried it on real devices and emulator. For ios I haven’t notice this problem. I also attach screenShots, which show the problem
Issue Analytics
- State:
- Created 4 years ago
- Reactions:11
- Comments:6
Top Results From Across the Web
Screenshot and camera preview not working at same time
1 Answer 1 ... You cannot getDrawingCache from camera preview surface. You must read pixels from glsurface, or get frame. Look at this...
Read more >Snapshot Frequently Asked Questions - Progressive
Snapshot prices your insurance differently and personalizes your insurance rate based on your actual driving (called usage-based car insurance insurance).
Read more >Take a screenshot or record your screen on your Android device
You can take a picture (screenshot) or record a video of your phone's screen. After you capture your screen, you can view, edit,...
Read more >Camera API | Android Developers
For users to effectively take pictures or video, they must be able to see what the device camera sees. A camera preview class...
Read more >Preview Snapshots Not Updating - Arlo Community
Camera thumbnails (from the cloud) are not of the most recent video. ... Using Android with version 3.6.6_28456 of the Arlo app.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
PR #209 is what introduced this functionality. I would actually like to see the ability to take picture of the preview. If anyone wanted to take a stab at adding the old behaviour back by maybe adding an option to take pictures as preview or full size photo (current).
Yep, we are doing the same but doing it with js slows down the process quite a bit… on android seems like it will show the centered part so we are calculating the crop area based on that