Navigation
API > API/Runtime > API/Runtime/ImageWrapper > API/Runtime/ImageWrapper/IImageWrapper > API/Runtime/ImageWrapper/IImageWrapper/GetRawImage
References
| Module | ImageWrapper |
| Header | /Engine/Source/Runtime/ImageWrapper/Public/IImageWrapper.h |
| Include | #include "IImageWrapper.h" |
| Source | /Engine/Source/Runtime/ImageWrapper/Private/ImageWrapperBase.cpp |
bool GetRawImage
(
FDecompressedImageOutput & OutDecompressedImage
)
Remarks
Decode the image file data from SetCompressed() into an FImage OutImage is allocated and attributes are filled. Any previous passed-in contents of OutImage are destroyed. OutImage.Format is ignored, a new format is set from the loaded image MetaInfo is filled if applicable
This is the recommended API to get the raw image data from the imagewrapper. Prefer this instead of any of the GetRaw() calls.
Parameters
| Name | Description |
|---|---|
| OutDecompressedImage | Image and meta data along with Mip Map Images |