brownemint / Ti-Android-CameraView

MIT License
23 stars 15 forks source link

Camera freeze are taking picture #6

Closed kosso closed 8 years ago

kosso commented 9 years ago

Hi,

Thanks for this module. But should the camera image freeze after taking a photo? I'd like to be able to take a few, while keeping the camera 'live'.

Testing on Moto G. Android 4.4.4 TiSDK 3.5.1.GA

Thanks!

brownemint commented 9 years ago

Hi Kosso, The module was designed with one picture at a time in mind. I'll look into extending it with your suggestion in a future update.

kosso commented 9 years ago

Ah ok. I wasn't missing something then ;)

Being able to take more than one photo while still viewing through the camera would be very useful, thanks ;)

eg: An app for creating short stop-frame-animations, where the previous image is "onion-skinned" over the view to position the next frame. etc. etc.

Cheers!

brownemint commented 9 years ago

I just did a quick update there that should do what you suggested (0.6.1). You can use a new property called pictureTimeout to set how long the picture will "freeze" for before the preview is back "live". I've set the default at 1000ms (1 second).

kosso commented 9 years ago

Hi. That's great. Thanks. I'll give it a go.

btw, earlier I found a module which appears to be a modified version of your code, which also includes the ability to set the camera resolution : https://github.com/rpavez/ti-camera-pro/tree/master/src/com/ti/camera/pro