How to grab one frame with QCamera in Qt mobility?
what can i do is that save the image on the harddisk and read it .
Is there any good solution?
THX
How to grab one frame with QCamera in Qt mobility?
what can i do is that save the image on the harddisk and read it .
Is there any good solution?
THX
How to grab one frame with QCamera in Qt mobility?
what can i do is that save the image on the harddisk and read it .
Is there any good solution?
THX
Did you already check out this article?
http://wiki.forum.nokia.com/index.ph...ng_Qt_Mobility
Pankaj Nathani
www.croozeus.com
Because QVideoWidget inherited from QWidget you can use function render - http://doc.qt.nokia.com/4.6/qwidget.html#render
//in constructor
m_camera = new QCamera;
m_videoWidget= new QVideoWidget(m_camera);
//on timer
QSize sz = this->m_videoWidget->size();
QImage img ( sz, QImage::Format_RGB32 );
this->m_videoWidget->render ( &img );
and after this you can do what you want with camerasnap