Ark Server API (ASA) - Wiki
|
#include <ObjectThumbnail.h>
Public Member Functions | |
virtual bool | CompressImage (const TArray< uint8 > &InUncompressedData, const int32 InWidth, const int32 InHeight, TArray< uint8 > &OutCompressedData)=0 |
virtual bool | DecompressImage (const TArray< uint8 > &InCompressedData, const int32 InWidth, const int32 InHeight, TArray< uint8 > &OutUncompressedData)=0 |
virtual FName | GetThumbnailCompressorName () const =0 |
virtual bool | IsLosslessCompression () const =0 |
Thumbnail compression interface for packages. The engine registers a class that can compress and decompress thumbnails that the package linker uses while loading and saving data.
Definition at line 16 of file ObjectThumbnail.h.
|
pure virtual |
Compresses an image
InUncompressedData | The uncompressed image data |
InWidth | Width of the image |
InHeight | Height of the image |
OutCompressedData | [Out] Compressed image data |
|
pure virtual |
Decompresses an image
InCompressedData | The compressed image data |
InWidth | Width of the image |
InHeight | Height of the image |
OutUncompressedData | [Out] Uncompressed image data |
Get name of compressor
Is lossless compression