5#include "Containers/Array.h"
#define ensureMsgf( InExpression, InFormat,...)
Definition AssertionMacros.h:465
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
EImageFormat
Definition IImageWrapper.h:27
ERGBFormat
Definition IImageWrapper.h:76
EImageCompressionQuality
Definition IImageWrapper.h:113
UE_INTRINSIC_CAST UE_REWRITE constexpr std::remove_reference_t< T > && MoveTemp(T &&Obj) noexcept
Definition UnrealTemplate.h:520
Definition IImageWrapper.h:132
virtual bool SupportsMetadata() const =0
static IMAGEWRAPPER_API ERawImageFormat::Type ConvertRGBFormat(ERGBFormat RGBFormat, int BitDepth, bool *bIsExactMatch=nullptr)
Definition ImageWrapperBase.cpp:250
static IMAGEWRAPPER_API int64 GetRGBFormatBytesPerPel(ERGBFormat RGBFormat, int BitDepth)
Definition ImageWrapperBase.cpp:185
virtual void AddMetadata(const FString &InKey, const FString &InValue)=0
virtual TArray64< uint8 > GetExportData(int32 Quality=0)
Definition IImageWrapper.h:199
ERawImageFormat::Type GetClosestRawImageFormat(bool *bIsExactMatch=nullptr) const
Definition IImageWrapper.h:421
virtual int64 GetWidth() const =0
bool GetRaw(FDecompressedImageOutput &OutDecompressedImage)
Definition IImageWrapper.h:237
virtual bool CanSetRawFormat(const ERGBFormat InFormat, const int32 InBitDepth) const =0
virtual bool GetRaw(const ERGBFormat InFormat, int32 InBitDepth, FDecompressedImageOutput &OutDecompressedImage)=0
static IMAGEWRAPPER_API void ConvertRawImageFormat(ERawImageFormat::Type RawFormat, ERGBFormat &OutFormat, int &OutBitDepth)
Definition ImageWrapperBase.cpp:343
bool GetRaw(TArray64< uint8 > &OutRawData)
Definition IImageWrapper.h:213
virtual int32 GetBitDepth() const =0
const TCHAR * DebugImageName
Definition IImageWrapper.h:135
virtual int64 GetHeight() const =0
void SetDebugImageName(const TCHAR *InDebugImageName)
Definition IImageWrapper.h:431
virtual ERawImageFormat::Type GetSupportedRawFormat(const ERawImageFormat::Type InFormat) const =0
bool GetRawImage(FImage &OutImage)
Definition ImageWrapperBase.cpp:420
bool GetRaw(const ERGBFormat InFormat, int32 InBitDepth, TArray< uint8 > &OutRawData)
Definition IImageWrapper.h:321
bool GetRaw(const ERGBFormat InFormat, int32 InBitDepth, TArrayView64< uint8 > OutRawData)
Definition IImageWrapper.h:347
virtual ERGBFormat GetFormat() const =0
virtual bool SetRaw(const void *InRawData, int64 InRawSize, const int32 InWidth, const int32 InHeight, const ERGBFormat InFormat, const int32 InBitDepth, const int32 InBytesPerRow=0)=0
virtual ~IImageWrapper()
Definition IImageWrapper.h:462
virtual bool GetRaw(const ERGBFormat InFormat, int32 InBitDepth, TArray64< uint8 > &OutRawData)=0
virtual bool SetCompressed(const void *InCompressedData, int64 InCompressedSize)=0
virtual void GetMetadata(TStringMap &OutMetadata) const =0
virtual TArray64< uint8 > GetCompressed(int32 Quality=0)=0
bool GetSRGB() const
Definition IImageWrapper.h:403
Definition ImageWrapperOutputTypes.h:11
Definition ImageCore.h:416