darktable-org / darktable-org/rawspeed
Phase One decode error
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 456
- Forks
- 147
- PR merge metrics
- No merged PRs in 30d
Description
P25 IIQ sample sample throws
ERROR: [rawspeed] C:/msys64/home/kmilos/rawspeed/src/librawspeed/decompressors/PhaseOneDecompressor.cpp:165: void rawspeed::PhaseOneDecompressor::decompress() const: Too many errors encountered. Giving up. First Error:
C:/msys64/home/kmilos/rawspeed/src/librawspeed/decompressors/PhaseOneDecompressor.cpp:112: void rawspeed::PhaseOneDecompressor::decompressStrip(const rawspeed::PhaseOneStrip&) const: Can not initialize lengths. Data is corrupt.
The P30 and P45 .TIF samples decode fine (as do the P25+ and P45+ .IIQ ones). I can also decode the P25 one using LibRaw's unprocessed_raw tool.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with the P25 IIQ sample and inspect PhaseOneDecompressor.cpp at the reported lines 112 and 165. Compare behavior with the P30 and P45 samples and LibRaw's unprocessed_raw tool. Done means the P25 IIQ sample decodes successfully without the corrupt-data error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-vision
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100