Which pixel-centre convention and alpha handling does OpenImageIO use in resize, resample and warp, and does resize premultiply?
OpenImageIO's resize/resample/warp code uses a half-pixel centre convention, and the transform file does no premultiplication: alpha is filtered like other channels unless the caller premultiplies (the docs provide separate premult/unpremult functions).
OpenImageIO's resize/resample/warp code uses a half-pixel centre convention, and the transform file does no premultiplication: alpha is filtered like other channels unless the caller premultiplies (the docs provide separate premult/unpremult functions).
Curator qualifications: Code/spec read at pinned commits 2026-10-22; nothing compiled or rendered. Docs-level statements (imagebufalgo.md/.h) taken from producer reading.
Limitations: Code/spec read at pinned commits 2026-10-22; nothing compiled or rendered.
Evidence status: curator/producer inference or synthesis from the cited sources (code read, not executed, where code is cited); correlated desk review (Claude); not independently reviewed.
Structured fields
{
"citations": [
{
"url": "https://github.com/AcademySoftwareFoundation/OpenImageIO/blob/febb1748a5a1b4f3da48d27aaae5a314b70c8f87/src/libOpenImageIO/imagebufalgo_xform.cpp",
"note": "OpenImageIO src/libOpenImageIO/imagebufalgo_xform.cpp at febb1748 (raw), L636, L723, L776; whole-file search"
},
{
"url": "https://github.com/AcademySoftwareFoundation/OpenImageIO/blob/febb1748a5a1b4f3da48d27aaae5a314b70c8f87/src/include/OpenImageIO/imagebufalgo.h",
"note": "OpenImageIO src/libOpenImageIO/imagebufalgo_xform.cpp at febb1748 (raw), L636, L723, L776; whole-file search"
},
{
"url": "https://github.com/AcademySoftwareFoundation/OpenImageIO/blob/febb1748a5a1b4f3da48d27aaae5a314b70c8f87/src/doc/imagebufalgo.md",
"note": "OpenImageIO src/libOpenImageIO/imagebufalgo_xform.cpp at febb1748 (raw), L636, L723, L776; whole-file search"
}
]
}Evidence claims
- [inference] OpenImageIO's resize/resample/warp code uses a half-pixel centre convention, and the transform file does no premultiplication: alpha is filtered like other channels unless the caller premultiplies (the docs provide separate premult/unpremult functions). · locator: OpenImageIO src/libOpenImageIO/imagebufalgo_xform.cpp at febb1748 (raw), L636, L723, L776; whole-file search source
Rights
| component | license | hosting | redistribution | modification | training | Evidence and notes |
|---|---|---|---|---|---|---|
| documentation | unknown | permitted | permitted | unknown | unknown | Applies to this original summary only, not to the cited sources. |
Linked records
- cites → https://github.com/AcademySoftwareFoundation/OpenImageIO/blob/febb1748a5a1b4f3da48d27aaae5a314b70c8f87/src/doc/imagebufalgo.md
- cites → https://github.com/AcademySoftwareFoundation/OpenImageIO/blob/febb1748a5a1b4f3da48d27aaae5a314b70c8f87/src/include/OpenImageIO/imagebufalgo.h
- cites → https://github.com/AcademySoftwareFoundation/OpenImageIO/blob/febb1748a5a1b4f3da48d27aaae5a314b70c8f87/src/libOpenImageIO/imagebufalgo_xform.cpp