Hello,
May I ask a question about using libraw with mingw?
My OS is Windows 7 and I installed MSYS and mingw492_32.
I download LibRaw-0.17.2.zip and extract it.
On command prompt, I executed
sh ./configure
mingw32-make -f Makefile.mingw
and could get lib\libraw.a
I tried to test this static library with simple_dcraw.cpp in samples folder.
g++ simple_dcraw.cpp -o simple.exe -Ilibraw -Llib -lraw
I ran into a problem where the FujiExpoMidPointShift variable has a different value in the debug vs release builds. This seems to be a bug in LibRaw 0.18. It worked fine in LibRaw 0.17. Here is how to reproduce.
In the following Google Drive folder is a Fuji X-Pro1 RAF test image.
I know you are very brief in answering questions, but I'd love if you answer my questions. I'll make it bullet style and mark them in bold, so it's clear what my questions are.
I am using LibRaw together with the rawPy wrapper (http://pythonhosted.org/rawpy/api/rawpy.RawPy.html) to read in DNG files into Python. Unfortunately the input image does not seem to be correctly read in.
The code I use is:
import rawpy
import imageio
newFile = 'GOPR0079.DNG'
with rawpy.imread(newFile) as raw:
rgb = raw.postprocess(demosaic_algorithm=None,output_color = rawpy.ColorSpace.raw)
I'm finding a need to update my tools that use LibRaw, so I was wondering if there is a recommended release/commit I should be basing it off? Generally I prefer explicitly version releases but in this case the need for newer cameras overrides that.
Hi,
according to the documentation, the dcraw_emu tool should produce binary identical results to those produced by dcraw with the same command line keys. I have an example file where the behaviour between the two binaries differ. You can get the file here: https://drive.google.com/file/d/0B-kBET7UtPB9RkVzVzF6NzNWQzA/view?usp=sh....
Note that I used the following command on the file: ./dcraw -v -q 3 -4 -T ./IMG_9975.CR2
Recent comments