Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FImageUtils
Description
"Decompress" an image to a file format. Here "Compress" really means put an image into file format binary.
| Name | DecompressImage |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/ImageUtils.h |
| Include Path | #include "ImageUtils.h" |
| Source | /Engine/Source/Runtime/Engine/Private/ImageUtils.cpp |
static bool DecompressImage
(
const void * InCompressedData,
int64 InCompressedSize,
FImage & OutImage
)
Parameters
| Name | Remarks |
|---|---|
| InCompressedData | File formatted image bits to unpack |
| InCompressedSize | Size of InCompressedData |
| OutImage | Filled with the decompressed image and allocated as needed |