diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-09-09 00:00:22 +0300 |
---|---|---|
committer | akleshchev <117672381+akleshchev@users.noreply.github.com> | 2023-09-10 21:49:00 +0300 |
commit | cfb69846f1e8309ed86d4a18eb26a889f6dbaccc (patch) | |
tree | cb5507d1d5a8600f312d3b25d404fd2c50384050 /indra/newview/llviewertexturelist.h | |
parent | 46425b2e49377acc186e41c67a793f7f6b7f583b (diff) |
SL-20261 Allow and resize existing textures as necessary for thumbnails
Diffstat (limited to 'indra/newview/llviewertexturelist.h')
-rw-r--r-- | indra/newview/llviewertexturelist.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llviewertexturelist.h b/indra/newview/llviewertexturelist.h index 8fc65fc9ce..82dec6b329 100644 --- a/indra/newview/llviewertexturelist.h +++ b/indra/newview/llviewertexturelist.h @@ -92,6 +92,10 @@ class LLViewerTextureList friend class LLLocalBitmap; public: + static bool createUploadFile(LLPointer<LLImageRaw> raw_image, + const std::string& out_filename, + const S32 max_image_dimentions = LLViewerFetchedTexture::MAX_IMAGE_SIZE_DEFAULT, + const S32 min_image_dimentions = 0); static BOOL createUploadFile(const std::string& filename, const std::string& out_filename, const U8 codec, |