I wish to convert raw .NEF files taken with a Nikon D40. I compared Nikon's Capture NX-D utility, libraw, and dcraw. First, I generated .tiff files with each of these. For NX-D, I converted without making any adjustments. With libraw, I used:
With recent changes to Android, simple files are an endangered species and we have to rely on file descriptors. My c++ is rudimentary at best, but if I follow the docs and code to open a file descriptor I'd need to use:
LibRaw::open_datastream
I'd pass in an extension of LibRaw_abstract_datastream that would very closely resemble the existing:
but only value 1.0 <= exp_shift <= 8.0 seems to result in a different exposed output ( lighter ).
All images created with setting 0.25 <= exp_shift < 1.0 look the same ( not darker ) ?
I can understand it is a naive question but I have searched enough and was wondering if it is at all possible to run libraw on a visual studio project with platform and target machine set to x64. Everything works fine when platform and target machine are x64, but it complains of unresolved externals whenever they 're set to x64. I wanted to integrate it into a large project which has been aimed for 64 bits so far anyway. Thank you in advance.
I'm trying to extract 16bit TIF from raw image ( gamma corrected - not linear ) and only get a very noisy / false-colored image !?
I'm certainly doing something wrong when setting up LibRaw instance...
Any hint appriciated !
Here is my pseudo code ( error handling stripped ) to extract the raw image and create a GraphicsMagick image of the created image data :
Recent comments