mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
16 lines
459 B
C++
16 lines
459 B
C++
#include "../BgraFrame.h"
|
|
|
|
namespace NSHeif {
|
|
class GRAPHICS_DECL CHeifFile {
|
|
private:
|
|
CHeifFile() = delete;
|
|
public:
|
|
static bool isHeif(const std::wstring& fileName);
|
|
static bool isHeif(BYTE* buffer, size_t size);
|
|
|
|
static bool Open(CBgraFrame* frame, const std::wstring& fileName, bool isRGBA);
|
|
static bool Open(CBgraFrame* frame, BYTE* buffer, size_t size, bool isRGBA);
|
|
static bool Save(CBgraFrame* frame, const std::wstring& dstPath);
|
|
};
|
|
}
|