Hi Rainer, Which bug reports are we talking about?
Are you saying that newer versions of Qt would automatically apply rotation to certain images? That's clearly a regression and cannot be done by default. At this stage it can be an opt-in feature at best. The difference to formats like TIFF is unfortunate. Ideally none of the image plugins should apply such smartness automatically (there can be other use cases where we want the pixels as in the file, not everything is a photo viewer application). Instead, there should have been a QImageReader level API to enable this. BR, Laszlo ________________________________________ From: [email protected] <[email protected]> on behalf of Rainer Keller <[email protected]> Sent: Friday, April 17, 2015 9:10 AM To: [email protected] Subject: [Development] Rotating JPEG images by default Hi, there was a change to introduce handling of exif orientation when loading JPEG images. Two bugreports complaining Qt is not handling image orientation caused me to fix this. But now we got bugreports claiming the opposite. In my opinion the orientation information is an essential part of the image and should be applied by default. Taking a picture with your camera users would expect it to look the same in a QImage as it was taken. Therefor it should respect the orientation by default. There are different implementations on other projects. For TIFF format the rotation is also applied. But in webbrowsers the rotation is usually not handled and must be enabled by an additional CSS flag. Regards, Rainer _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
