mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-12 00:00:44 -04:00
Merge branch 'upstream' into foreign/New-Posted-Card-View
This commit is contained in:
commit
0dcaa90820
14 changed files with 188 additions and 44 deletions
|
@ -31,7 +31,7 @@ class ImageUtil
|
|||
public:
|
||||
ImageUtil();
|
||||
|
||||
static void extractImage(QWidget *window, QTextCursor cursor);
|
||||
static void extractImage(QWidget *window, QTextCursor cursor, QString file = "");
|
||||
static bool optimizeSizeHtml(QString &html, const QImage& original, QImage &optimized, int maxPixels = -1, int maxBytes = -1);
|
||||
static bool optimizeSizeBytes(QByteArray &bytearray, const QImage& original, QImage &optimized, int maxPixels = -1, int maxBytes = -1);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue