You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (params[i] == IMWRITE_EXR_DWA_COMPRESSION_LEVEL)
770
773
{
771
-
#if OPENEXR_VERSION_MAJOR >= 3
772
-
header.dwaCompressionLevel() = params[i + 1];
773
-
#else
774
+
#if!defined(OPENEXR_VERSION_MAJOR)
775
+
CV_LOG_ONCE_WARNING(NULL, "Setting `IMWRITE_EXR_DWA_COMPRESSION_LEVEL` not supported in unknown OpenEXR version possibly prior to 2.0.1 (version 3 is required)");
776
+
#elif OPENEXR_VERSION_MAJOR < 3
774
777
CV_LOG_ONCE_WARNING(NULL, "Setting `IMWRITE_EXR_DWA_COMPRESSION_LEVEL` not supported in OpenEXR version " + std::to_string(OPENEXR_VERSION_MAJOR) + " (version 3 is required)");
0 commit comments