FThumbnailCompressionInterface::DecompressImage

Decompresses an image

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/ObjectThumbnail.h

Include

#include "Misc/ObjectThumbnail.h"

Syntax

bool DecompressImage
(
    const TArray< uint8 > & InCompressedData,
    const int32 InWidth,
    const int32 InHeight,
    TArray< uint8 > & OutUncompressedData
)

Remarks

Decompresses an image

Returns

true if the image was decompressed successfully, otherwise false if an error occurred

Parameters

Parameter

Description

InCompressedData

The compressed image data

InWidth

Width of the image

InHeight

Height of the image

OutUncompressedData

[Out] Uncompressed image data

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss