Example code to change UIImage to QImage with orientation fixed. https://github.com/benlau/quickios/blob/master/qisystemutils.mm#L13
On 16 June 2015 at 23:28, Gian Maxera <[email protected]> wrote: > I got the same problem on iOS when I capture an image. > The problem arise on iOS because iOS do not rotate the image but it store > into EXIF metadata how it should be rotated and orientated the image for > visualising it. > But the Image item of QML (in my case) ignore the EXIF metadata for > orientation and hence you see the image rotated. > My trick was to rotate the image using iOS api. > I’m sorry, I don’t have the code here. Later during the code I’ll send you > my function for doing that. > > Ciao, > Gianluca. > > > On 16 Jun 2015, at 16:22, Daniel França <[email protected]> wrote: > > Not sure if it's related, but the autoOrientation for VideoOutput didn't > work well for me either. > I'm waiting for the 5.5 release as I'd other problems with video capture > on IOS to test it again. > > > Em ter, 16 de jun de 2015 às 17:22, Daniel França <[email protected]> > escreveu: > >> Not sure if it's related, but the autoOrientation for VideoOutput didn't >> work well for me either. >> >> Em ter, 16 de jun de 2015 às 16:29, Jason H <[email protected]> escreveu: >> >>> I have a mobile app on iOS and Android. We're new to iOS. Out android >>> app is flawless (provided we don't use 5.4.2 >:( >>> >>> When capturing a image, we capture the preview image, we then display >>> this image in an image element. In android with autoOrientation: true it >>> works fine. In iOS the image is rotated 90 CCW. >>> >>> Has anyone else seen this? >>> Is there a resolution? (I did google.) >>> >>> This reminds me of the bug that 5.4.1 fixed in android (and allegedly >>> all others), but was reverted for 5.4.2. >>> >>> I'm wondering if it is related to: >>> http://stackoverflow.com/questions/29724537/realtime-capture-using-avfoundation-rotated-90%C2%BA-in-avcapturevideopreviewlayer >>> >>> Help? >>> Thanks. >>> >>> >>> >>> _______________________________________________ >>> Interest mailing list >>> [email protected] >>> http://lists.qt-project.org/mailman/listinfo/interest >>> >> _______________________________________________ > Interest mailing list > [email protected] > http://lists.qt-project.org/mailman/listinfo/interest > > > > _______________________________________________ > Interest mailing list > [email protected] > http://lists.qt-project.org/mailman/listinfo/interest > >
_______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest
