Navigation
API > API/Runtime > API/Runtime/ImageWrapper
NOTE: you should not write code that talks directly to individual ImageWrappers
Instead use ImageWrapperModule CompressImage/DecompressImage
Prefer the new interface that go through FImage not TArray of bytes Enumerates the types of image formats this class can handle.
| Name | EImageFormat |
| Type | enum |
| Header File | /Engine/Source/Runtime/ImageWrapper/Public/IImageWrapper.h |
| Include Path | #include "IImageWrapper.h" |
Syntax
enum EImageFormat
{
Invalid = -1,
PNG = 0,
JPEG,
GrayscaleJPEG,
BMP,
ICO,
EXR,
ICNS,
TGA,
HDR,
TIFF,
DDS,
UEJPEG,
GrayscaleUEJPEG,
}
Values
| Name | Remarks |
|---|---|
| Invalid | Invalid or unrecognized format. |
| PNG | Portable Network Graphics. |
| JPEG | Joint Photographic Experts Group. |
| GrayscaleJPEG | Single channel JPEG. |
| BMP | Windows Bitmap. |
| ICO | Windows Icon resource. |
| EXR | OpenEXR (HDR) image file format. |
| ICNS | Mac icon. |
| TGA | Truevision TGA / TARGA |
| HDR | Hdr file from radiance using RGBE |
| TIFF | Tag Image File Format files |
| DDS | DirectDraw Surface |
| UEJPEG | UE JPEG format. |
| GrayscaleUEJPEG | Single channel UE JPEG. |