Navigation
API > API/Runtime > API/Runtime/ImageCore > API/Runtime/ImageCore/FImage
References
| Module | ImageCore |
| 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
Remarks
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.
DEPRECATED! Use ResizeImage() instead. This function should only be used where legacy behavior must be maintained.
ResizeTo has a bug a slight translation of the image.
Parameters
| Name | 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. |