Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.5.1, 5.11.2
-
linux
Description
Steps to reproduce the problem:
1., Please build and run the attached application.
2., Check the logs
Actual result: the result image of scaled is not 8bit as the initial image
Expected result: the image should have the same format as the initial image
The problem escalates further as when it is converted back to the same format it looks bad no matter which conversion flags are used. It can be compared when Qt::FastTransformation is used (this one doesn't change the format), then the result looks much better then with SmoothTransformation and convertToFormat.
QImage should also have more filters like for example Lanczos.