[Interest] How to crop and scale QCamera input to a widget

nus1998 nus1998 at yeah.net
Tue Mar 10 12:32:48 CET 2015


Hi All,

My camera resolution is 2048 * 1536, now I want to display the center 1000 * 1000 pixels on a 500 * 500 widget,  so far I only found setGeometry to crop the image but can't scale it, is there any item for that?

thanks in advance
Jie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150310/a1f9973f/attachment.html>


More information about the Interest mailing list