[Development] Rotating JPEG images by default
Allan Sandfeld Jensen
kde at carewolf.com
Fri Apr 17 12:10:22 CEST 2015
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/
`Allan
More information about the Development
mailing list