]> git.cworth.org Git - apitrace/blobdiff - gui/apisurface.h
Rescale the image pixels using the full precision.
[apitrace] / gui / apisurface.h
index 79afaf927ca5ccc9780b0de69dfb430d0e8814d4..ed6debe6ec2e662be64ddaee6d3098f961d0c6c8 100644 (file)
@@ -29,7 +29,11 @@ public:
     QImage thumb() const;
 
     static image::Image *imageFromBase64(const QByteArray &data);
-    static QImage qimageFromRawImage(const image::Image *img);
+    static QImage qimageFromRawImage(const image::Image *img,
+                                     float lowerValue = 0.0f,
+                                     float upperValue = 1.0f,
+                                     bool opaque = false,
+                                     bool alpha = false);
 
 private:
     QSize  m_size;