On 17 Apr 2015, at 12:10, Allan Sandfeld Jensen <[email protected]> wrote:
> On Friday 17 April 2015, Sorvig Morten wrote: >>> On 17 Apr 2015, at 10:48, Allan Sandfeld Jensen <[email protected]> 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/ _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
