Get image from .NEF file
Posted: Wed Jul 12, 2023 10:46 am
Hello everyone.
I have some .NEF files and need to extract their image and save it as a .jpeg. I found that in the Imaging.RawCodec dll there is a class NefPage, and in fact it contains the GetImage method that I need. The only issue is I can't see a constructor or a static/Shared method I can use to produce an instance of that class, and the class itself is not static/Shared, which means that I do need to somehow create a NefPage object and call the methods on it.
So my question is this:
Given a .NEF file, how do I create an instance of the NefPage class?
I have some .NEF files and need to extract their image and save it as a .jpeg. I found that in the Imaging.RawCodec dll there is a class NefPage, and in fact it contains the GetImage method that I need. The only issue is I can't see a constructor or a static/Shared method I can use to produce an instance of that class, and the class itself is not static/Shared, which means that I do need to somehow create a NefPage object and call the methods on it.
So my question is this:
Given a .NEF file, how do I create an instance of the NefPage class?