Navigation
API > API/Plugins > API/Plugins/AppleImageUtils > API/Plugins/AppleImageUtils/UAppleImageUtilsBaseAsyncTaskBlu-
References
| Module | AppleImageUtils |
| Header | /Engine/Plugins/Runtime/AppleImageUtils/Source/AppleImageUtils/Public/AppleImageUtilsBlueprintProxy.h |
| Include | #include "AppleImageUtilsBlueprintProxy.h" |
| Source | /Engine/Plugins/Runtime/AppleImageUtils/Source/AppleImageUtils/Private/AppleImageUtilsBlueprintProxy.cpp |
UFUNCTION&40;BlueprintCallable, Meta&61;&40;BlueprintInternalUseOnly&61;"true", DisplayName&61;"Convert To PNG"&41;,
Category&61;"Image Conversion"&41;
static UAppleImageUtilsBaseAsyncTaskBlueprintProxy &42; CreateProxyObjectForConvertToPNG
&40;
UTexture &42; SourceImage,
bool bWantColor,
bool bUseGpu,
float Scale,
ETextureRotationDirection Rotate
&41;
Remarks
Converts a image to an array of TIFF data in a background task
Parameters
| Name | Description |
|---|---|
| SourceImage | the image to compress |
| Quality | the quality level to compress to |
| bWantColor | whether the PNG 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 conversion, defaults to no scaling |
| Rotate | a direction to rotate the image in during conversion, defaults to none |