|
50 | 50 | # Check writing overscan and negative range |
51 | 51 | command += oiiotool("--create 64x64-16-16 3 -d half -o negoverscan.exr") |
52 | 52 | command += info_command("negoverscan.exr", safematch=True) |
| 53 | + |
| 54 | +# Check ACES Container output for relaxed mode |
| 55 | +command += oiiotool("--create 4x4 3 -d half --compression none --ch B,G,R -sattrib oiio:ACESContainer relaxed -o relaxed-out.exr") |
| 56 | +command += oiiotool("relaxed-out.exr --echo {TOP[acesImageContainerFlag]}", failureok=True) # should give 1 |
| 57 | +command += oiiotool("--create 4x4 3 -d half --compression none --ch R,G,B -sattrib oiio:ACESContainer relaxed -o fail.exr") |
| 58 | +command += oiiotool("fail.exr --echo {TOP[acesImageContainerFlag]}", failureok=True) # should be empty |
| 59 | +command += oiiotool("--create 4x4 3 -d half --compression zip --ch B,G,R -sattrib oiio:ACESContainer relaxed -o fail.exr") |
| 60 | +command += oiiotool("fail.exr --echo {TOP[acesImageContainerFlag]}", failureok=True) # should be empty |
| 61 | +command += oiiotool("--create 4x4 3 -d float --compression none --ch B,G,R -sattrib oiio:ACESContainer relaxed -o fail.exr") |
| 62 | +command += oiiotool("fail.exr --echo {TOP[acesImageContainerFlag]}", failureok=True) # should be empty |
| 63 | + |
| 64 | +# Check ACES Container output for strict mode |
| 65 | +command += oiiotool("--create 4x4 3 -d half --compression none --ch B,G,R -sattrib oiio:ACESContainer strict -o strict-out.exr") |
| 66 | +command += info_command("strict-out.exr", safematch=True) |
| 67 | +command += oiiotool("--create 4x4 3 -d half --compression none --ch R,G,B -sattrib oiio:ACESContainer strict -o strict-fail.exr", failureok=True) |
| 68 | +command += oiiotool("--create 4x4 3 -d half --compression zip --ch B,G,R -sattrib oiio:ACESContainer strict -o strict-fail.exr", failureok=True) |
| 69 | +command += oiiotool("--create 4x4 3 -d float --compression none --ch B,G,R -sattrib oiio:ACESContainer strict -o strict-fail.exr", failureok=True) |
0 commit comments