Alberto Mardegan schreef op 23-4-2015 om 13:20: > On 04/23/2015 01:36 PM, Gunnar Sletta wrote: >> I think we should strive to not introduce regressions on purpose. Hence: >> - Revert the behavioral change in 5.4 which adds rotation to JPEGs >> - Have opt-in rotation in QImageReader. >> - Keep TIFF rotation as it is (and change it to the Qt-wide default for >> Qt 6) >> >> Anything else will cause us a lot of pain down the line. > Also the above causes some pain. Whether we go for opt-in or opt-out of > the automatic rotation, please have a static method to globally specify > whether automatic rotation is desired or not. > > We should have QML Image show the JPEGs with the correct rotation > without requiring special flags or custom image readers. >
What is the problem with using Image { source: "someImage.jpg" autorotate: true } Again: note that QImage != QML Image I don't like globals if they can be avoided. In this case, I think they can. André _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development