Navigation
API > API/Runtime > API/Runtime/ImageCore
Description
Copies and resizes the image to a destination image with the specified size and format. Resize is done using bilinear filtering; gamma correct (light linear) by converting through RGBA32F.
legacy API, prefer ResizeImage
| Name | FImageCore::ResizeTo |
| Type | function |
| Header File | /Engine/Source/Runtime/ImageCore/Public/ImageCore.h |
| Include Path | #include "ImageCore.h" |
| Source | /Engine/Source/Runtime/ImageCore/Private/ImageCore.cpp |
namespace FImageCore
{
void FImageCore::ResizeTo
(
const FImageView & SourceImage,
FImage & DestImage,
int32 DestSizeX,
int32 DestSizeY,
ERawImageFormat::Type DestFormat,
EGammaSpace DestGammaSpace
)
}
Parameters
| Name | Remarks |
|---|---|
| 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. |