Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support needed for new Nikon RAW image codecs called "High Efficiency" and "High Efficiency Star", both of which are still stored in file containers with .NEF extension #1508

Open
OldNikonShooter opened this issue Jan 4, 2024 · 4 comments

Comments

@OldNikonShooter
Copy link

Is your feature request related to a problem? Please describe

Hello. Nikon has released two new RAW image file compression formats with their latest flagship Nikon Z8 and Z9 cameras. The formats are called "High Efficiency" and "High Efficiency Star". RAW image contents compressed into files by these Nikon cameras with these new codecs are still stored within the container whose extension is .NEF, but they utilize new codecs not currently supported by Magick.NET.

The problem: the program ImageGlass uses Magick.NET to decode image formats, according to its author, @d2phap. Therefore ImageGlass cannot properly decompress and display images stored using these new Nikon codecs: all that can be seen in ImageGlass is the small embedded JPEG (?) image thumbnails but NOT the full RAW image. So support within Magick.NET for these new codecs is needed in order for these new Nikon files to be usable in projects using Magick.NET (such as ImageGlass).

Describe the solution you'd like

I respectfully suggest adding to Magick.NET the ability to decompress contents within the Nikon .NEF file container that use the new Nikon codecs mentioned above. Thank you for considering this! Sincerely, GitHub member "OldNikonShooter"

Describe alternatives you've considered

No response

Additional context

No response

@dlemstra
Copy link
Owner

dlemstra commented Jan 4, 2024

You will need to request for support for this in the libraw library that is being used to read those files. And it would be wise to add an image (zipped) to the issue here so I can test if support was added when I update the libraw library.

@OldNikonShooter
Copy link
Author

Hello @dlemstra. Can you please provide information how to connect with the owner/author of the libraw library you use in Magick.NET, so that I can make the requested suggestion to the appropriate party? In advance, thank you on behalf of the large community of Nikon owners affected by this issue.

@dlemstra
Copy link
Owner

dlemstra commented Jan 5, 2024

We are using this project: https://www.libraw.org/. And here is a list of supported cameras: https://www.libraw.org/supported-cameras.

@un-script
Copy link

un-script commented Nov 10, 2024

@OldNikonShooter The Nikon Raw High Efficiency formats are from a codec that has a pending patent, so it will require proper licensing if LibRaw wants to avoid risks in the future by distributing it. Currently, I see LibRaw only supports the non-compressed versions, not the HE ones.

https://register.epo.org/application?number=EP22757253&lng=en&tab=family
https://www.intopix.com/fasttico-raw-cpu-gpu-sdks

However, you can freely download the codec from Nikon's website (since Nikon has obviously licensed it), so perhaps it's possible to integrate it another way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants