UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UEJpegImageWrapper.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreTypes.h"
6#include "ImageWrapperBase.h"
7
8#if WITH_UEJPEG
9
11 : public FImageWrapperBase
12{
13public:
14
16 // NumComponents == 1 for GrayscaleJPEG
18
19 virtual ~FUEJpegImageWrapper();
20
21public:
22
23 //~ FImageWrapperBase interface
24
25 virtual bool SetCompressed(const void* InCompressedData, int64 InCompressedSize) override;
26 virtual void Uncompress(const ERGBFormat InFormat, int32 InBitDepth) override;
27 virtual void Compress(int32 Quality) override;
28 virtual TArray64<uint8> GetExportData(int32 Quality) override;
29
30 virtual bool CanSetRawFormat(const ERGBFormat InFormat, const int32 InBitDepth) const override;
32
33private:
34
35 int32 NumComponents;
36};
37
38
39#endif //WITH_UEJPEG
FPlatformTypes::int64 int64
A 64-bit signed integer.
Definition Platform.h:1127
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
ERGBFormat
Definition IImageWrapper.h:76
Definition ImageWrapperBase.h:17
virtual void Uncompress(const ERGBFormat InFormat, int32 InBitDepth)=0
virtual bool SetCompressed(const void *InCompressedData, int64 InCompressedSize) override
Definition ImageWrapperBase.cpp:104
virtual TArray64< uint8 > GetExportData(int32 Quality=0)
Definition IImageWrapper.h:199
virtual bool CanSetRawFormat(const ERGBFormat InFormat, const int32 InBitDepth) const =0
virtual ERawImageFormat::Type GetSupportedRawFormat(const ERawImageFormat::Type InFormat) const =0
Type
Definition ImageCore.h:57