How to make sure that the size of QImage is exactly the size i want in Pixel?
Qt Code:
  1. QImage image = ...;
  2. int width = ...;
  3. int height = ...;
  4. QImage scaledImage = image.scaled(width, height, ...);
To copy to clipboard, switch view to plain text mode