Forum 'VintaSoft Imaging .NET SDK and Plug-ins Discussions'

Questions, comments and suggestions concerning VintaSoft Imaging .NET SDK.

Board index < VintaSoft Imaging < VintaSoft Imaging .NET SDK and Plug-ins Discussions

Login

Get image from .NEF file



Get image from .NEF file

Post by DomiMedical »

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?


Re: Get image from .NEF file

Post by Alex »

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


Page 1 from 1: 1