Files
OpenAssetIO-OpenAssetIO-Com…/tests/resources/bal_db.json
T
David Feltell 35639fdffc [Core] Add ResolveImage node
Copy-paste current implementation of core LoadImage, but use a string
input providing an entity reference instead of a file upload, and
retrieve input file path from the OpenAssetIO manager.

Due to the mix-and-match by ComfyUI of class vs. instance methods, plus
no way to inject context, use a singleton class to represent the
OpenAssetIO host application.

Signed-off-by: David Feltell <david.feltell@foundry.com>
2025-09-05 17:46:51 +01:00

28 lines
626 B
JSON

{
"entities": {
"image_file": {
"versions": [
{
"traits": {
"openassetio-mediacreation:usage.Entity": {},
"openassetio-mediacreation:twoDimensional.Image": {},
"openassetio-mediacreation:content.LocatableContent": {
"location": "file://${test_tmp_dir}/cat.png"
}
}
}
]
},
"no_file": {
"versions": [
{
"traits": {
"openassetio-mediacreation:usage.Entity": {},
"openassetio-mediacreation:twoDimensional.Image": {}
}
}
]
}
}
}