On Tue, Mar 10, 2015 at 12:32 PM, nus1998 <nus1...@yeah.net> wrote: > 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 > > Just guessing. Would the Scale{} item help you? http://doc.qt.io/qt-5/qml-qtquick-scale.html You would probably have the calculate the optimal scale for your desired width/height.
> > <#14c0375a88560e46_> > _______________________________________________ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest > >
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest