[Development] Rotating JPEG images by default

Rutledge Shawn Shawn.Rutledge at theqtcompany.com
Fri Apr 17 12:44:10 CEST 2015


On 17 Apr 2015, at 12:10, Allan Sandfeld Jensen <kde at carewolf.com> wrote:

> On Friday 17 April 2015, Sorvig Morten wrote:
>>> On 17 Apr 2015, at 10:48, Allan Sandfeld Jensen <kde at carewolf.com> wrote:
>>> 
>>> 
>>> Ideally the orientation could also be kept as metadata in QImage.
>> 
>> I’d like to see general metadata support in QImage. The closest thing we
>> have seems to be QImage::text(), which supports QString data only.
>> 
>> My specific use case setting and preserving the NSImage “template” property
>> [1] across QImage -> NSImage conversions. This does not really deserve a
>> separate setter/getter: a key/value API would be ideal.
>> 
> I tried starting on a possible API, just to see if it could be done: 
> https://codereview.qt-project.org/#/c/110685/

QTBUG-22367 needs to get fixed too, which I was trying to do here

https://codereview.qt-project.org/#/c/101084/

and I have a patch to show metadata in the imageviewer example

https://codereview.qt-project.org/#/c/101083/




More information about the Development mailing list