Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FImageUtils
Description
Save an image. Output format will be chosen automatically based on the Image pixel format eg. EXR for float, PNG for BGRA8 extension will be added to file name
| Name | SaveImageAutoFormat |
| 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 SaveImageAutoFormat
(
const TCHAR * Filename,
const FImageView & InImage,
int32 Quality
)
Parameters
| Name | Remarks |
|---|---|
| Filename | File name to save to, auto extension will be added |
| InImage | Image to save |
| Quality | Mainly for JPEG, but special values have some meaning for other formats |