![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <IcoImageWrapper.h>
Inheritance diagram for FIcoImageWrapper:Protected Member Functions | |
| bool | LoadICOHeader () |
Protected Member Functions inherited from FImageWrapperBase | |
| int64 | GetBytesPerPel () const |
| int64 | GetBytesPerRow () const |
| bool | GetImageViewOfSetRawForCompress (FImageView &OutImage) const |
Additional Inherited Members | |
Public Types inherited from IImageWrapper | |
| using | TStringMap = TMap< FString, FString > |
Static Public Member Functions inherited from IImageWrapper | |
| static IMAGEWRAPPER_API void | ConvertRawImageFormat (ERawImageFormat::Type RawFormat, ERGBFormat &OutFormat, int &OutBitDepth) |
| static IMAGEWRAPPER_API ERawImageFormat::Type | ConvertRGBFormat (ERGBFormat RGBFormat, int BitDepth, bool *bIsExactMatch=nullptr) |
| static IMAGEWRAPPER_API int64 | GetRGBFormatBytesPerPel (ERGBFormat RGBFormat, int BitDepth) |
Protected Attributes inherited from FImageWrapperBase | |
| TArray64< uint8 > | RawData |
| TArray64< uint8 > | CompressedData |
| ERGBFormat | Format |
| int | BitDepth |
| int64 | Width |
| int64 | Height |
| FString | LastError |
Protected Attributes inherited from IImageWrapper | |
| const TCHAR * | DebugImageName = nullptr |
ICO implementation of the helper class.
| FIcoImageWrapper::FIcoImageWrapper | ( | ) |
Default Constructor.
|
overridevirtual |
CanSetRawFormat returns true if SetRaw will accept this format
Implements IImageWrapper.
Compresses the data.
| Quality | The compression quality. |
returns void. call SetError() in your implementation if you fail.
Implements FImageWrapperBase.
|
overridevirtual |
Gets the raw data. (Note: It may consume the data set in the SetRaw function if it was set before)
| InFormat | How we want to manipulate the RGB data. |
| InBitDepth | The output bit-depth per channel, normally 8. |
| OutRawData | Will contain the uncompressed raw data. |
this is often broken, should only be used with InFormat == GetFormat() DEPRECATED , use GetRaw() with 1 argument or GetRawImage()
Reimplemented from FImageWrapperBase.
|
overridevirtual |
returns InFormat if supported, else maps to something supported the returned format will pass CanSetRawFormat()
Implements IImageWrapper.
|
protected |
Load the header information.
|
overridevirtual |
Sets the compressed data. Can then call GetRaw().
| InCompressedData | The memory address of the start of the compressed data. |
| InCompressedSize | The size of the compressed data parsed. |
after SetCompressed, image info queries like GetWidth and GetBitDepth are allowed call GetRaw to get the decoded bits decompression is not done until GetRaw
Reimplemented from FImageWrapperBase.
|
overridevirtual |
Function to uncompress our data
| InFormat | How we want to manipulate the RGB data |
| InBitDepth | The bit depth per-channel of the image. |
returns void. call SetError() in your implementation if you fail.
Implements FImageWrapperBase.