[FEATURE REQUEST] Global attrib to enable/disable formats

未关闭
#4,759 3 条评论 1 个 reaction 已指派 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 小时
30 天内合并 PR
85

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

AcademySoftwareFoundation/OpenImageIO 的其他 Issue

查看 AcademySoftwareFoundation/OpenImageIO 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。