IAppleImageUtilsPlugin::ConvertToHEIF

Converts a image to an array of HEIF data in a background task

Windows
MacOS
Linux

References

Module

AppleImageUtils

Header

/Engine/Plugins/Runtime/AppleImageUtils/Source/AppleImageUtils/Public/IAppleImageUtilsPlugin.h

Include

#include "IAppleImageUtilsPlugin.h"

Syntax

TSharedPtr< FAppleImageUtilsConversionTaskBase, ESPMode::ThreadSafe > ConvertToHEIF
(
    UTexture * SourceImage,
    int32 Quality,
    bool bWantColor,
    bool bUseGpu,
    float Scale,
    ETextureRotationDirection Rotate
)

Remarks

Converts a image to an array of HEIF data in a background task

must support UAppleImageInterface)

Returns

the async task that is doing the conversion

Parameters

Parameter

Description

SourceImage

the image to compress (

Quality

the quality level to compress to

bWantColor

whether the HEIF is color (true) or monochrome (false)

bUseGpu

whether to use the GPU (true) or the CPU (false) to compress

Scale

whether to scale the image before converting, defaults to no scale operation

Rotate

a direction to rotate the image in during conversion, defaults to none

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