Forum

Author Topic: Metashape doesn't read jxl created in Adobe Camera Raw 16.4?  (Read 4550 times)

sjoerdvanriel

  • Newbie
  • *
  • Posts: 5
    • View Profile
Metashape doesn't read jxl created in Adobe Camera Raw 16.4?
« on: September 25, 2024, 12:28:29 PM »
Hi all,

We are having troubles importing jxl image files into Metashape since we updated our Camera Raw to version 16.4. They worked fine in 16.2 and 16.3, but now we get a message saying "no image". Any suggestions as to why this occurs and how to fix it (without downgrading back to an earlier version of camera raw? We are running on Metashape version 2.1.2

Thanks in advance,

Sjoerd
« Last Edit: September 25, 2024, 12:30:56 PM by sjoerdvanriel »

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15403
    • View Profile
Re: Metashape doesn't read jxl created in Adobe Camera Raw 16.4?
« Reply #1 on: September 25, 2024, 05:55:16 PM »
Hello Sjoerd,

Please send the image example to support@agisoft.com. If possible please include not only problematic image, but also the image corresponding to previous camera raw version that worked fine.
Best regards,
Alexey Pasumansky,
Agisoft LLC

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15403
    • View Profile
Re: Metashape doesn't read jxl created in Adobe Camera Raw 16.4?
« Reply #2 on: October 11, 2024, 12:37:14 PM »
The fix will be added in 2.1.4 and 2.2.0 updates.
Best regards,
Alexey Pasumansky,
Agisoft LLC

DavidD

  • Newbie
  • *
  • Posts: 25
    • View Profile
Re: Metashape doesn't read jxl created in Adobe Camera Raw 16.4?
« Reply #3 on: January 09, 2025, 03:06:42 AM »
Hi Alexey,

I can confirm, that loading of jxl Files works again in 2.2.
However, loading images with more than three bands seems to be faulty. We're trying to load an image with 4 bands (RGBI) but Metashape says it only has 3 bands. The tiff file works fine with all 4 bands.
The JXL file shows all 4 bands in other software like GIMP.

This seems to be a bug.

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15403
    • View Profile
Re: Metashape doesn't read jxl created in Adobe Camera Raw 16.4?
« Reply #4 on: January 09, 2025, 05:34:54 PM »
Hello DavidD,

Can you please then share the example images in JXL (and same converted to TIFF) to support@agisoft.com?
Best regards,
Alexey Pasumansky,
Agisoft LLC

DavidD

  • Newbie
  • *
  • Posts: 25
    • View Profile
Re: Metashape doesn't read jxl created in Adobe Camera Raw 16.4?
« Reply #5 on: February 10, 2025, 08:31:14 PM »
Hi Alexey,

just saw your reply.
I answered via email and also shared a sharepoint folder with you, so you can download the images.

Thanks!

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15403
    • View Profile
Re: Metashape doesn't read jxl created in Adobe Camera Raw 16.4?
« Reply #6 on: February 13, 2025, 01:13:25 PM »
Hello DavidD,

Thank you for sharing the samples. We will check that, but at the first glance it looks like the fourth band is stored in extra channel in JXL file and is marked as alpha. Metashape treats such kind of data as transparency channel that can be used for Import Masks -> From Alpha command.

Is there any way to configure on your side, how the fourth band in JXL is marked?
Best regards,
Alexey Pasumansky,
Agisoft LLC

DavidD

  • Newbie
  • *
  • Posts: 25
    • View Profile
Re: Metashape doesn't read jxl created in Adobe Camera Raw 16.4?
« Reply #7 on: February 14, 2025, 04:43:58 PM »
Thanks for the information.
It seems to be the default behaviour of the libjxl library to mark a fourth layer as transparency. We'll have to check, how to change that.