isHDR static method

bool isHDR(
  1. String path
)

Implementation

static bool isHDR(String path) {
  final pPath = path.toNativeUtf8().cast<ffi.Char>();
  final result = c.stbi_is_hdr(pPath);
  calloc.free(pPath);
  return result != 0;
}