[Development] Rotating JPEG images by default

Allan Sandfeld Jensen kde at carewolf.com
Fri Apr 17 14:19:01 CEST 2015


On Friday 17 April 2015, Rainer Keller wrote:
> 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.
> 
I would like to mention one extra relevant detail. While this was implemented 
for 5.4, it was not working in 5.4.0, and was only fixed for 5.4.1. So sofar 
only 5.4.1 has had EXIF orientation automatically applied on JPEGs. This also 
raises the question about what to do for 5.4.2?

Best regards
`Allan



More information about the Development mailing list