dlemstra / Magick.NET

The .NET library for ImageMagick
Apache License 2.0
3.46k stars 416 forks source link

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 10 months ago

OldNikonShooter commented 10 months ago

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 commented 10 months ago

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 commented 10 months ago

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 commented 10 months ago

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