Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
5.15.2
-
None
-
66a44f4ebac0dc20422477afe794fa712dea01bc (qt/qtbase/dev) e065582744b5632edaa93550a482ae29eeb02734 (qt/qtbase/6.2) c9b23b6d282e5b4e1cc596083ec11ed26cf8dcdf (qt/tqtc-qtbase/5.15)
Description
QImage's devicePixelRatio is not preserved after calling QImage::convertToFormat(format, colorTable).
QImage::convertToFormat(format) internally calls copyMetadata() to copy the devicePixelRatio to the converted QImage.
But QImage::convertToFormat(format, colorTable) doesn't.
The devicePixelRatio of the converted QImage is always 1.
Attachments
For Gerrit Dashboard: QTBUG-96926 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
373602,2 | Preserve QImage metadata when converting format with color table | dev | qt/qtbase | Status: MERGED | +2 | 0 |
373708,2 | Preserve QImage metadata when converting format with color table | 6.2 | qt/qtbase | Status: MERGED | +2 | 0 |
373709,3 | Preserve QImage metadata when converting format with color table | tqtc/lts-5.15 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |