FComparableImage::LoadCompressedData

Populate image by loading compressed data

Unreal Engine C++ API Reference > Developer > ScreenShotComparisonTools > FComparableImage

References

   
Module ScreenShotComparisonTools
Header /Engine/Source/Developer/ScreenShotComparisonTools/Public/ImageComparer.h
Include #include "ImageComparer.h"
Source /Engine/Source/Developer/ScreenShotComparisonTools/Private/ImageComparer.cpp
bool LoadCompressedData
(
    const void * CompressedData,
    int64 CompressedSize,
    const [FString](API\Runtime\Core\Containers\FString) & ImageExtension,
    [FText](API\Runtime\Core\Internationalization\FText) & OutError
)

Remarks

Populate image by loading compressed data true if success

Parameters

Name Description
CompressedData The memory address of the start of the compressed data.
CompressedSize The size of the compressed data parsed.
ImageExtension File extension of the image format
OutError Contains the error message if load fails

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library