Reply to comment

dcraw_emu.exe versus dcraw.exe

Hi,
I wanted to compare the images generated by dcraw_emu.exe and the latest version of dcraw, which I compiled on Windows 7 using:

gcc -o dcraw.exe -O4 dcraw.c -lm -lws2_32 -DNO_JPEG -DNO_LCMS -DDJGPP

I then ran both dcraw.exe and dcraw_emu.exe with the same command line parameters:

dcraw.exe -g 1.0 1.0 -W -q 3 data.cr2
dcraw_emu.exe -g 1.0 1.0 -W -q 3 data.cr2

using this image:

http://www.filefactory.com/file/b345c12/n/data.cr2

I would have thought that the output .ppm file would be binary identical from both tests but I can easily see that the result from dcraw_emu.exe always appears brighter than dcraw.exe across the entire image. Is there a step that I am missing or can you explain what is going on here please?
Thanks,
Patrick

Reply

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <c>, <cpp>, <drupal5>, <drupal6>, <java>, <javascript>, <php>, <python>, <ruby>. The supported tag styles are: <foo>, [foo].
  • Images can be added to this post.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.