List of RAW 9 bugs

Thanks for adding CoreML into the Apple RAW decoder. I'm excited with what it can bring. But I'm having a number of issues with it.

  1. My code base is written in Objective-C, and I'm using my custom MTKView. Now when I enabled RAW 9 support, the render is extremely slow (instant vs seconds). The UI would appear to hang with a spinning color wheel. It feels like CoreML processing is being delegated in the rendering thread, which runs on the main queue. How can I improve performance?

  2. As someone has reported, there is a black horizontal line in the middle of the image. The image that I was testing came from Fuji X-T5.

  3. If I enable EDR (Extended Dynamic Range), RAW 9 stops rendering, and will return ANE error. My app does HDR rendering of RAW files.

  4. I cannot get something like Sony A7R IV ARW image to load. Same ANE error. Is there a memory setting I need to tweak?

  5. When I render the X-T5 image, the colors appear to be overly saturated, which is different from the result of RAW 8. I cannot speak for the color rendering of other types of RAW files.

I was told code base with Catalyst (and perhaps Swift) works without issue, other than being slow (except for large RAW files), but there seems to be an issue with Objective-C?

Answered by Engineer in 894167022
  1. There are some performance fixes/improvements coming in the next developer seeds. For example, one expected fix will allow the draftMode to work in Raw9
  2. I expect this will be fixed in a future seed.
  3. This is unexpected. Can you describe the ANE error log? Does this depend on hardware?
  4. Same as above.
  5. I do not see Raw9 as more saturated then Raw8 for X-T5 images. That said, one online discussion of this was comparing Raw9 to other renderers. Apple's color calibration is typically more saturated than other renderers. That said, is your app setting the CIContext working colorspace? That may cause color shifts.
  1. There are some performance fixes/improvements coming in the next developer seeds. For example, one expected fix will allow the draftMode to work in Raw9
  2. I expect this will be fixed in a future seed.
  3. This is unexpected. Can you describe the ANE error log? Does this depend on hardware?
  4. Same as above.
  5. I do not see Raw9 as more saturated then Raw8 for X-T5 images. That said, one online discussion of this was comparing Raw9 to other renderers. Apple's color calibration is typically more saturated than other renderers. That said, is your app setting the CIContext working colorspace? That may cause color shifts.

Following up on the working-colorspace question above.

Yes — the CIContext workingColorSpace seem to decide whether this appears. But it is not caller-side colour management: version 8 is insensitive to the same setting, varying by at most 0.1 code value across five managed working color spaces (and 8.dng is byte-identical), while version 9 varies by a factor of 3.2 on the same file in the same process. In sRGB or Display P3 a Canon EOS 5D Mark III renders at 254.9 / 253.8 / 255.0 under version 9 — very nearly pure white — and at 158.6 / 119.4 / 77.8 under version 8.

Full measurements, five working color spaces, three files, two seeds, plus a minimal reproduction filed as FB24435750.

List of RAW 9 bugs
 
 
Q