AcademySoftwareFoundation / AcademySoftwareFoundation/OpenImageIO

[BUG] DPX from "Resolve Live" mangled conversion

Open
#4,040 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2.4k
Forks
698
Avg merge
3d 9h
Merged PRs (30d)
48

Description

**To Reproduce**
Use oiiotool (2.5.4.0, or really any version AFAICT) to convert this [DPX file](https://github.com/AcademySoftwareFoundation/OpenImageIO/files/13207430/RL01_00411952.dpx.zip) to a jpg or any other format. Notably OIIO thinks this is a single-channel image. Resolve indicates that it is at least a RGB image. This DPX was captured in a Resolve Live session.

```
oiiotool -i RL01_00411952.dpx -o test.jpg
```

**Expected behavior**
An RGB image (Screenshot from Resolve):
![FrameGrab](https://github.com/AcademySoftwareFoundation/OpenImageIO/assets/924470/e9dc262b-3c5f-40f5-ae3d-9cdbbabb20fc)

**Actual behavior**
oiiotool creates a greyscale JPEG
![result](https://github.com/AcademySoftwareFoundation/OpenImageIO/assets/924470/b72bb776-2df6-4f2b-b64f-6be35b8509ab)

**Platform information:**
- OIIO branch/version: 2.5.4.0
- OS: macOS
- Homebrew installation

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the conversion with the attached DPX file using the documented oiiotool command, then trace how OIIO interprets the DPX channels. Done means the file is recognized as RGB and conversion to JPEG produces a color image rather than grayscale.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.