Module |
|
Header |
/Engine/Source/Runtime/ImageCore/Public/ImageCore.h |
Include |
#include "ImageCore.h" |
Source |
/Engine/Source/Runtime/ImageCore/Private/ImageCore.cpp |
void ResizeTo
(
FImage & DestImage,
int32 DestSizeX,
int32 DestSizeY,
ERawImageFormat::Type DestFormat,
EGammaSpace DestGammaSpace
) const
Copies and resizes the image to a destination image with the specified size and format. Resize is done using bilinear filtering
Parameter |
Description |
---|---|
DestImage |
The destination image. |
DestSizeX |
Width of the resized image |
DestSizeY |
Height of the resized image |
DestFormat |
The destination image format. |
DestSRGB |
Whether the destination image is in SRGB format. |