Hello, I have a DNG file that specifies DefaultCropOrigin and DefaultCropSize in its metadata. Using libraw I'd like to get all the sensor data available in the DNG file while still retaining informations about the default crop, so that the extra data doesn't get trimmed at this point.
I've patched dcraw_common.cpp to read the default crop info, but I'm still unable to get the result I want.
For reference this is my patch, though at this point I'm not sure this is the right way to do it:
Hello! I have some problems when open photos from:
Canon PowerShot G1 X,
Canon PowerShot G5 X,
Canon PowerShot G7 X,
Canon PowerShot G7 X Mark II,
Canon PowerShot S120,
Canon PowerShot S130 IS.
I have a DNG file that causes a crash in LibRaw 0.19-Snapshot-20170812 (no problem with LibRaw 0.8.16). The crash happens in the "unpack" function.
I used the Visual Studio project provided in LibRaw 0.19-Snapshot-20170812 without changing any settings. I opened and compiled the project with Visual Studio 2010 Express in 32bit / release mode. I did the same with LibRaw 0.18.6 and got not problem.
I have found two Nikon Coolpix B700 RAW files on the web that give strange colors with libRaw 0.8.16. When I try to open these files with Adobe Photoshop or Preview.app on Mac OS X, colors are ok.
While browsing this forum, I found this post "Issue with Pentax *istD" (3 May, 2017 - 14:53) about a Pentax PEF file that did not decode correctly in version 0.18.2, but did work in 0.17.2. A patch was proposed in the same post.
I have been using libRaw 0.15.4 (Windows 32bit) in my application since 4 years. Recently, we received some CR2, NEF and IIQ files that libRaw 0.15.4 was not able to process correctly (strange colors rendering or errors on opening). I decided to upgrade to a recent version of libRaw, so I tried libRaw 0.18.15 and 0.18.16 and it seems that most problems have gone away except some IIQ files that cannot be opened (while libRaw 0.15.4 worked well on these files).
I would like to open a .cr2 (from my Canon 6D) file, play with it and compare the result with already existing demosaicing algorithms.
I use codeblocks 16.01, mingw x64 5.0.3 (g++ version 7.2.0) and openCV 3.3.1 on Windows 10 x64.
I downloaded the latest LibRaw sources.
But i can't compile a simple program :
I tried many DNGs and raws from different cameras, and besides for the SD980 problem I reported yesterday, which was not really LibRaw's fault, they all worked very nicely, and I got results comparable to RawTherapee.
For most of the cameras I've tried, I either get values like 0.6 or 600 (which I divide by 1000).
However, I have a DNG where I get: INFO: cam_mul 0.001000 1127039.874999 0.004999 0
Raw Therapee seems to load the file just fine though. And so does IrfanView.
I've been trying to use LibRaw on a project, but keep running into an issue where the output images don't look "contrasty" enough -- they differ substantially in contrast from both the embedded previews in the JPEG, as well as ACR and FastRawViewer (which I understood uses libraw internally?)
Looking in FRV, there's an option called "contrast curve type", which is set to "variable contrast" -- I think this is what I'm missing.
How do I invoke libraw such that it mirrors the "variable contrast" setting, so that my images look right?
Recent comments