Re: [Development] Rotating JPEG images by default

2015-04-19 Thread Konstantin Ritt
And to be honest, I don't like the QImage::orientation() API addition w/o providing setOrientation() and a respective code code in the image writer to store orientation as metadata (when possible). `QImage img(sourcePath); img = img.scaled(img.width() / 2, mg.height() / 2); img.save(destPath);` sho

Re: [Development] Rotating JPEG images by default

2015-04-19 Thread Konstantin Ritt
I failed to find an official announcing for the EXIF-based auto-rotation of QImage-s (correct me if I'm wrong), so it looks just like a behavioral regression to me, nothing more. IMO, we should revert the behavior to pre 5.4 and give the control over the image aspects to the user, not to an arbitra