Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Misc > API/Runtime/Core/Misc/FThumbnailCompressionInterface
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Misc/ObjectThumbnail.h |
Include | #include "Misc/ObjectThumbnail.h" |
bool CompressImage
&40;
const TArray< uint8 > & InUncompressedData,
const int32 InWidth,
const int32 InHeight,
TArray< uint8 > & OutCompressedData
&41;
Remarks
Compresses an image true if the image was compressed successfully, otherwise false if an error occurred
Parameters
Name | Description |
---|---|
InUncompressedData | The uncompressed image data |
InWidth | Width of the image |
InHeight | Height of the image |
OutCompressedData | [Out] Compressed image data |