|
| FNVImageExporter (IImageWrapperModule *InImageWrapperModule) |
|
bool | ExportImage (const FNVImageExporterData &ImageExporterData) |
|
|
static TArray< uint8 > | CompressImage (IImageWrapperModule *ImageWrapperModule, const FNVTexturePixelData &SourcePixelData, ENVImageFormat ImageFormat, uint8 CompressionQuality=100) |
| Compress a source image to a certain image type. More...
|
|
static TArray< uint8 > | CompressImagePNG (const FNVTexturePixelData &SourcePixelData) |
| Compress a source image data to PNG format NOTE: PNG is lossless compression so we can't change the compression quality This function always use Z_BEST_SPEED, may be we want to customize the compression level result The compressed data in bytes. More...
|
|
static bool | ExportImage (IImageWrapperModule *ImageWrapperModule, const FNVImageExporterData &ImageExporterData) |
| Export an in-memory image to file on disk. More...
|
|
|
IImageWrapperModule * | ImageWrapperModule |
|
Definition at line 40 of file NVImageExporter.h.
static TArray<uint8> FNVImageExporter::CompressImage |
( |
IImageWrapperModule * |
ImageWrapperModule, |
|
|
const FNVTexturePixelData & |
SourcePixelData, |
|
|
ENVImageFormat |
ImageFormat, |
|
|
uint8 |
CompressionQuality = 100 |
|
) |
| |
|
static |
Compress a source image to a certain image type.
- Parameters
-
ImageWrapperModule | Reference to the ImageWrapper module |
SourcePixelData | The source, raw pixel data |
ImageFormat | The type of the image to compress to |
CompressionQuality | The quality of the compression result The compressed data in bytes |
static TArray<uint8> FNVImageExporter::CompressImagePNG |
( |
const FNVTexturePixelData & |
SourcePixelData | ) |
|
|
static |
Compress a source image data to PNG format NOTE: PNG is lossless compression so we can't change the compression quality This function always use Z_BEST_SPEED, may be we want to customize the compression level result The compressed data in bytes.
static bool FNVImageExporter::ExportImage |
( |
IImageWrapperModule * |
ImageWrapperModule, |
|
|
const FNVImageExporterData & |
ImageExporterData |
|
) |
| |
|
static |
Export an in-memory image to file on disk.
The documentation for this struct was generated from the following file: