keep source file and reader provenance on image specs
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- cpp
- Área
- computer-graphics
Línea de trabajo
Start by tracing the higher-level ImageBuf and ImageCache read paths, including how cached subimages and native specs are produced, then inspect ImageOutput::check_open() and the ImageInput boundary. Verify that source path and reader format reach the specified specs and ImageBufAlgo results, while raw ImageInput specs remain unchanged. Done means both attributes are removed before in-tree writer headers are constructed.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
ImageBuf::name() and ImageBuf::file_format_name() identify the source file
and reader, but that information does not travel with a copied spec, an
ImageCache result, or an ImageBufAlgo result. Applications must track it out
of band.
Proposal
- Add
oiio:SourcePathandoiio:SourceFileFormatto specs from higher-level file
reads. A directImageBufread records the supplied name.ImageCache
records the search-path-resolved name. The format comes from the reader's
format_name(). - Add them to every cached subimage and the native spec. Because they are spec
attributes, ordinary spec copies and ImageBufAlgo results retain them. Raw
ImageInputspecs remain unchanged. - As
oiio:attributes they are hints, which writers already don't store in
files (the FITS writer is fixed to follow that convention too). - Do not use provenance to drive behavior yet. Applying FileRules to
oiio:SourcePath, especially after combining several inputs, needs separate
policy review.
Behavior this changes
Specs returned through ImageBuf and ImageCache expose their source path and
reader format. The values survive normal spec-carrying operations, but neither
attribute is serialized to output files.
Are these the right names and higher-level-read boundary?
Assisted-by: OpenAI Codex (GPT-5.6 Sol)
- Lenguaje dominante
- C++
- Estrellas
- 2.4k
- Forks
- 716
- Merge medio
- 2 d 9 h
- PR fusionados (30 d)
- 91
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de AcademySoftwareFoundation/OpenImageIO
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
AcademySoftwareFoundation/OpenImageIO#5619 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 10/100
AcademySoftwareFoundation/OpenImageIO#5570 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
AcademySoftwareFoundation/OpenImageIO#5558 ·
Los mantenedores suelen responder en 1 día
-
define which color metadata OpenImageIO trusts, and when it resolves itPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
AcademySoftwareFoundation/OpenImageIO#5516 ·
Los mantenedores suelen responder en 1 día
-
recognize configured color spaces and report their primaries and gammaPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
AcademySoftwareFoundation/OpenImageIO#5514 ·
Los mantenedores suelen responder en 1 día
Todos los issues de AcademySoftwareFoundation/OpenImageIO
Issues similares
-
Shell: serve the home app's Cookie Policy on a hard reloadPosiblemente ocupada @2001anshkaushik la tomó hoy. Abiertofeature module:ai
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
rocketride-org/rocketride-server#2899 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
rice-solar-physics/HYDRAD#113 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 3 días
-
status:needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
PX4/PX4-Autopilot#29496 ·
Los mantenedores suelen responder en 1 día
-
Missing icon for .cpp2 filesAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 66/100
madskristensen/FileIcons#385 ·