[Development] Rotating JPEG images by default

Alberto Mardegan mardy at users.sourceforge.net
Thu Apr 23 13:20:33 CEST 2015


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.

Ciao,
   Alberto



More information about the Development mailing list