Navigation
API > API/Runtime > API/Runtime/ImageCore
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void FImageCore::ResizeImageAllocDest
(
const FImageView& SourceImage, |
ResizeImage variant. | ImageCore.h | |
void FImageCore::ResizeImageAllocDest
(
const FImageView& SourceImage, |
ResizeImage variant. | ImageCore.h |
FImageCore::ResizeImageAllocDest(const FImageView &, FImage &, int32, int32, EResizeImageFilter)
Description
ResizeImage variant. See main ResizeImage function for notes.
Allocate DestImage (if needed) to specified size and Resize from SourceImage into it do not use this with Source == Dest (call ResizeImageInPlace)
DestImage will have same format as Source
| Name | FImageCore::ResizeImageAllocDest |
| 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::ResizeImageAllocDest
(
const FImageView & SourceImage,
FImage & DestImage,
int32 DestSizeX,
int32 DestSizeY,
EResizeImageFilter Filter
)
}
Parameters
| Name | Remarks |
|---|---|
| SourceImage | Source Image to resize from |
| DestImage | Dest to allocated and write to. Will not be allocated if it is already the right size. DestImage size/format is replaced. |
| DestSizeX | Specifies output of resize. DestImage will be changed to this. |
| DestSizeY | Specifies output of resize. DestImage will be changed to this. |
| Filter | EResizeImageFilter filter choice, or Default if none |
FImageCore::ResizeImageAllocDest(const FImageView &, FImage &, int32, int32, ERawImageFormat::Type, EGammaSpace, EResizeImageFilter)
Description
ResizeImage variant. See main ResizeImage function for notes.
Allocate DestImage (if needed) to specified size and Resize from SourceImage into it do not use this with Source == Dest (call ResizeImageInPlace)
| Name | FImageCore::ResizeImageAllocDest |
| 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::ResizeImageAllocDest
(
const FImageView & SourceImage,
FImage & DestImage,
int32 DestSizeX,
int32 DestSizeY,
ERawImageFormat::Type DestFormat,
EGammaSpace DestGammaSpace,
EResizeImageFilter Filter
)
}
Parameters
| Name | Remarks |
|---|---|
| SourceImage | Source Image to resize from |
| DestImage | Dest to allocated and write to. Will not be allocated if it is already the right size. DestImage size/format is replaced. |
| DestSizeX | Specifies output of resize. DestImage will be changed to this. |
| DestSizeY | Specifies output of resize. DestImage will be changed to this. |
| DestFormat | Specifies output of resize. DestImage will be changed to this. |
| DestGammaSpace | Specifies output of resize. DestImage will be changed to this. |
| Filter | EResizeImageFilter filter choice, or Default if none |