future feature: how to deal with multiple thumbnails?

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

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

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
30/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
静か
技術スタック
cpp

調査の方向性

Issueで言及されているImageInputとImageBufのget_thumbnail()メソッドから始め、rawカメラ形式とlibrawが複数の縮小解像度画像をどのように公開しているかを確認します。呼び出し側がサムネイルの数と解像度を取得し、インデックスを選択し、必要なv3_2 ImageInput namespace互換性を維持する方法を定義します。完了条件は、合意されたAPI設計と、複数のサムネイルを対象とするテストが用意されていることです。

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

説明

core APIs file formats

ImageInput and ImageBuf() have get_thumbnail() methods. But they assume that there are 0 or 1 thumbnails per subimage. But some raw camera formats (and libraw) supports multiple reduced-resolution versions of the main image. We don't particularly have a way for an app to find out that there are multiple thumbnails, what their resolutions are, or to pick a specific one.

Maybe one possible route for the future is to extend the get_thumbnail() method to take a thumbnail index, to select which one is chosen.

Note that this would be a breaking change to the ImageInput API, so could not be backported to existing releases. (And in main, it would require making a v3_2 namespace version of ImageInput.)

主要言語
C++
スター
2.4k
フォーク
727
平均マージ
4日 8時間
マージ済み PR(30日)
67

環境構築

はじめの一歩

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

AcademySoftwareFoundation/OpenImageIO のほかの issue

AcademySoftwareFoundation/OpenImageIO の issue をすべて見る

似ている issue

C++ の issue をもっと見る

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

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