{"id":60817,"library":"tinyexr","title":"tinyexr","description":"Library to load and save OpenEXR (.exr) images.","status":"active","version":"1.0.13","language":"cpp","source_language":null,"source_url":null,"tags":["image","exr","hdr","graphics","file-format"],"install":[{"cmd":"vcpkg install tinyexr","lang":"bash","label":"vcpkg"},{"cmd":"# CMakeLists.txt\nfind_package(tinyexr CONFIG REQUIRED)\ntarget_link_libraries(main PRIVATE tinyexr::tinyexr)","lang":"cmake","label":"CMake"}],"dependencies":[],"imports":[{"symbol":"tinyexr.h","correct":"#include <tinyexr.h>"}],"quickstart":{"code":"#define TINYEXR_IMPLEMENTATION\n#include <tinyexr.h>\n\nint main() {\n    const char* err = nullptr;\n    EXRVersion version;\n    int ret = ParseEXRVersionFromFile(&version, \"image.exr\");\n    if (ret != TINYEXR_SUCCESS) {\n        return 1;\n    }\n    return 0;\n}","lang":"cpp","description":"Parse EXR version from a file."},"warnings":[{"fix":"Add #define TINYEXR_IMPLEMENTATION in exactly one .cpp file before the include.","message":"You must define TINYEXR_IMPLEMENTATION exactly once in one source file before including tinyexr.h.","severity":"gotcha","affected_versions":["*"]}],"env_vars":null,"search_vec":"'exr':8,11 'file':15 'file-format':14 'format':16 'graphic':13 'hdr':12 'imag':9,10 'librari':2 'load':4 'openexr':7 'save':6 'tinyexr':1","created_at":"2026-06-17T04:29:01.466425+00:00","updated_at":"2026-06-17T04:29:01.466425+00:00","problems":[],"ecosystem":"vcpkg","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}