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?
Get image from .NEF file
Moderator: Alex
-
- Site Admin
- Posts: 2397
- Joined: Thu Jul 10, 2008 2:21 pm
Re: Get image from .NEF file
Hello,
If you want to get image of RAW (NEF) file, you can go by 2 ways.
WAY 1. Create instance of Vintasoft.Imaging.ImageCollection class and add file stream to the collection. After this you can get image as VintasoftImage object.
WAY 2. Create an instance of Vintasoft.Imaging.Codecs.ImageFiles.Raw.RawImageFile class and get RAW page using RawImageFile.Page property.
Best regards, Alexander
If you want to get image of RAW (NEF) file, you can go by 2 ways.
WAY 1. Create instance of Vintasoft.Imaging.ImageCollection class and add file stream to the collection. After this you can get image as VintasoftImage object.
WAY 2. Create an instance of Vintasoft.Imaging.Codecs.ImageFiles.Raw.RawImageFile class and get RAW page using RawImageFile.Page property.
Best regards, Alexander