[FEATURE REQUEST] Global attrib to enable/disable formats

オープン
#4,759 コメント 3 件 リアクション 1 件 担当者 1 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

@Rahul-Baradol がすでに取り組んでいます。

2025年6月1日 から。

評価

この issue はまだ評価されていません。

説明

difficulty/easy file formats good first issue help wanted

From a slack conversation, maybe it would be helpful to have a global OIIO:attribute() way to set at runtime a specific list of which file formats OIIO is willing to read or write?

This is settable at build time now, of course. But I could imagine it being helpful, especially in cases where you have to live with whichever libOpenImageIO you find on your system, to be able to restrict which formats you support. One reason might be security or reliability -- essentially limiting the attack surface area to just the formats a particular app anticipates needing?

It would be fairly straightforward to implement.

主要言語
C++
スター
2.4k
フォーク
718
平均マージ
2日 18時間
マージ済み PR(30日)
85

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

AcademySoftwareFoundation/OpenImageIO のほかの issue

AcademySoftwareFoundation/OpenImageIO の issue をすべて見る

似ている issue

C++ の issue をもっと見る

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

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