<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
Which platform are you on?
<div><br>
<div apple-content-edited="true"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">Yoann
 Lopes<br>
Senior Software Engineer - Digia, Qt<br>
Visit us on: <a href="http://qt.digia.com">http://qt.digia.com</a></span> </div>
<br>
<div>
<div>On Nov 5, 2013, at 7:14 AM, Joshua Grauman wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div>Hello all,<br>
<br>
I setup a basic use of QCamera and QCameraViewFinder that work fine. I <br>
just used the basic example in the docs to capture an image like this:<br>
<br>
camera->searchAndLock();      //on half pressed shutter button<br>
imageCapture->capture();      //on shutter button pressed<br>
camera->unlock();             //on shutter button released<br>
<br>
and had setup the viewfinder and camera like this:<br>
<br>
camera = new QCamera;<br>
viewFinder = new QCameraViewfinder(picture1);<br>
viewFinder->setSizePolicy(QSizePolicy::Maximum,QSizePolicy::Maximum);<br>
viewFinder->setGeometry(picture1->geometry());<br>
imageCapture = new QCameraImageCapture(camera);<br>
connect(imageCapture, SIGNAL(imageCaptured(int, const QImage &)), this, SLOT(gotImage(int, const QImage &)));<br>
camera->setViewfinder(viewFinder); <br>
imageCapture->setCaptureDestination(QCameraImageCapture::CaptureToBuffer);<br>
camera->setCaptureMode(QCamera::CaptureStillImage);<br>
<br>
Everything works as expected. The problem is with the exposure settings. <br>
The viewfinder looks how I want it to (properly exposed). But when I <br>
capture the image, it is under-exposed (very dark). I was hoping to get <br>
the picture that is taken to have the same exposure settings as the <br>
viewfinder since it looks fine. Does anyone know why the default settings <br>
for QCamera would be under-exposed in comparison to the viewfinder? <br>
Thanks!<br>
<br>
Josh<br>
_______________________________________________<br>
Interest mailing list<br>
<a href="mailto:Interest@qt-project.org">Interest@qt-project.org</a><br>
http://lists.qt-project.org/mailman/listinfo/interest<br>
</div>
</blockquote>
</div>
<br>
</div>
</body>
</html>