Skip to content

Sketch of OpenEXR Read/Write Flowchart #9

@scoopxyz

Description

@scoopxyz

Strawman Flowcharts

I think some more thought and refinement would need to be given to this, but this represents what roughly came to mind during the CIF meeting.

Seeing it laid out like this, I'm not sure if it's directly usable. If we would want to present something like this, each node would need a reference to a larger paragraph with more details (maybe hyperlink?)...

At worst, it's an example of how to use Mermaid diagrams with GH Flavored Markdown.

Writing OpenEXR Flowchart

graph TD;
A[Start] --> B{Known Color Space?};
B--True -->F{Read Metadata From Src?};
F--True -->G{Was CS Altered?}
G--True -->H[Write New ID]
G--False -->K{Is ACES2065-1 Img?}
B--False -->C{Discoverable?};
C--True -->D[Omit ID]
C--False -->E['Unknown']
F--False -->T{Is App OCIO Managed?}
T--True -->M
T--False -->Q
K--True -->L[Write ACES2065-1 ID]
K--False -->M{OCIO CS Exists?}
M--True -->N{Has InteropId?}
N--True -->O[Write InteropID]
N--False -->P[Follow CIF Guidelines]
M--False -->Q{Other CMS?}
Q--True -->P
Q--False -->S{Does User Know?}
S--True -->U[Write User ID]
S--False-->V[Omit ID]
Loading

Reading OpenEXR Flowchart

graph TD;
A[Start] --> B{acesImageContainer present?}
B--True -->C[Use 'lin_ap0_scene']
B--False -->D{Is colorInteropID present?}
D--True -->E{Is CIID `data`?}
E--True -->F[Don't Color Manage]
E--False -->G{Is CIID `unknown`?}
G--True -->H[Use OCIO FileRules]
G--False -->J[Use colorInteropId]
D--False -->K{Are FileRules Available?}
K--True -->L[Use OCIO FileRules]
K--False -->M[Ask User to Resolve]
Loading

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Later

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions