X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=gui%2Fapisurface.h;h=ed6debe6ec2e662be64ddaee6d3098f961d0c6c8;hb=36509be82b82382adeb8b320405f35636ecf72e7;hp=79afaf927ca5ccc9780b0de69dfb430d0e8814d4;hpb=a0708b02018902497da4df6c9be05cd053374afc;p=apitrace diff --git a/gui/apisurface.h b/gui/apisurface.h index 79afaf9..ed6debe 100644 --- a/gui/apisurface.h +++ b/gui/apisurface.h @@ -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;