Module |
|
Header |
/Engine/Plugins/Runtime/AppleImageUtils/Source/AppleImageUtils/Public/IAppleImageUtilsPlugin.h |
Include |
#include "IAppleImageUtilsPlugin.h" |
TSharedPtr< FAppleImageUtilsConversionTaskBase, ESPMode::ThreadSafe > ConvertToTIFF
(
UTexture * SourceImage,
bool bWantColor,
bool bUseGpu,
float Scale,
ETextureRotationDirection Rotate
)
Converts a image to an array of TIFF data in a background task
must support UAppleImageInterface)
the async task that is doing the conversion
Parameter |
Description |
---|---|
SourceImage |
the image to compress ( |
Quality |
the quality level to compress to |
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 |