MCPcopy Create free account
hub / github.com/RenderKit/embree / IsEXR

Function IsEXR

tutorials/common/image/tinyexr.h:6517–6526  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6515}
6516
6517int IsEXR(const char *filename) {
6518 EXRVersion exr_version;
6519
6520 int ret = ParseEXRVersionFromFile(&exr_version, filename);
6521 if (ret != TINYEXR_SUCCESS) {
6522 return ret;
6523 }
6524
6525 return TINYEXR_SUCCESS;
6526}
6527
6528int IsEXRFromMemory(const unsigned char *memory, size_t size) {
6529 EXRVersion exr_version;

Callers

nothing calls this directly

Calls 1

ParseEXRVersionFromFileFunction · 0.85

Tested by

no test coverage detected