AcademySoftwareFoundation / AcademySoftwareFoundation/OpenColorIO

Allow File Rules to leverage file format metadata

オープン
#1,995 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
Feature Request
主要言語
C++
スター
2.1k
フォーク
503
PR マージ指標
30日以内にマージされた PR はありません

説明

Currently the OCIO File Rules are only based on the path string for the media. This was done intentionally since dealing with file format metadata was deemed too complex for the first pass at the feature. However, it's definitely the case that there often is metadata in the file header that could be useful for determining what the appropriate color space is and it would be useful for the File Rules to be able to leverage it.

We do not want to add any dependencies for file format libraries on to OCIO to support this feature, so it needs to be implemented in such a way that the host application parses the files and provides the metadata in some neutral representation, such as a pair of field & value strings. OpenImageIO has some techniques for representing file-format agnostic metadata that might be a good model for how this could work (without adding a dependency on OIIO).

Of course the metadata in file headers is often wrong, so there needs to be sufficient control in the File Rules to control the relative precedence of what is in the file relative to the existing path-based rules.

Here is a presentation that [discussed OpenEXR](https://docs.google.com/presentation/d/1sY55UHYi2AJF6EPYDYY-mvaJUCzZCkWisrj-a9yhg2w/edit?usp=sharing) that is related.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

既存の OCIO File Rules とリンクされている OpenEXR プレゼンテーションを確認することから始めます。ホストから提供されるフィールドおよび値のメタデータをどのように表現するか、またパスベースのルールに対するその優先順位をどのように制御するかを定義します。File Rules がファイル形式ライブラリへの依存関係を追加せずに中立的なメタデータを使用できれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
cpp
領域
backend-api-design
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。