The problem happens in 7.* versions; earlier versions produced low-contrast images with this specific model.
Sample commands and their screen outputs:
F:\Work\Tools\IM_702d7>dcraw -v -o 1 -b 1 -w -T -O DSC00501.TIF DSC00501.ARW
Loading Sony ILCE-5000 image from DSC00501.ARW ...
Platform 0: Intel(R) Corporation OpenCL 1.2
Device 0: Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz
Device 1: Intel(R) HD Graphics 4400 <---
Scaling with darkness 0, saturation 4095, and
multipliers 3.031250 1.000000 1.566406 1.000000
AHD interpolation (CL)...
Building histograms...
Writing data to DSC00501.TIF ...
F:\Work\Tools\IM_702d7>dcraw -v -o 1 -b 1 -a -T -O DSC00501.TIF DSC00501.ARW
Loading Sony ILCE-5000 image from DSC00501.ARW ...
Platform 0: Intel(R) Corporation OpenCL 1.2
Device 0: Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz
Device 1: Intel(R) HD Graphics 4400 <---
Scaling with darkness 0, saturation 4095, and
multipliers 1.000000 1.000000 1.000000 1.000000
AHD interpolation (CL)...
Building histograms...
Writing data to DSC00501.TIF ...
dcraw outputs pure black for Sony A5000
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: dcraw outputs pure black for Sony A5000
dcraw isn't written or maintained by the ImageMagick people. I suggest you take it up with Dave Coffin, or whoever currently maintains it.
snibgo's IM pages: im.snibgo.com
Re: dcraw outputs pure black for Sony A5000
Can you share your input image so we can test if we can reproduce this issue?
@snigbo: We have made some changes to dcraw recently. It can now use OpenCL and that has improved the performance very much (https://twitter.com/MagickNET/status/735230384615661568)
@snigbo: We have made some changes to dcraw recently. It can now use OpenCL and that has improved the performance very much (https://twitter.com/MagickNET/status/735230384615661568)
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: dcraw outputs pure black for Sony A5000
Ah, I didn't know you were a dcraw person. Good stuff, great program. And faster is always better.dlemstra wrote:We have made some changes to dcraw recently.
snibgo's IM pages: im.snibgo.com
Re: dcraw outputs pure black for Sony A5000
We had some help from our friends at AMD, they gave us this patch.
Re: dcraw outputs pure black for Sony A5000
I downloaded and compiled the original dcraw version 9.27 .
This version converts my files just fine:
===========================================================
D:\ANY\DCRAW\DCRAW_160819>%DCRAW% -v -o 1 -b 1 -w -T INPUTS\DSC00500.ARW
Loading Sony ILCE-5000 image from INPUTS\DSC00500.ARW ...
Scaling with darkness 128, saturation 4095, and
multipliers 3.031250 1.000000 1.566406 1.000000
AHD interpolation...
Converting to sRGB colorspace...
Writing data to INPUTS\DSC00500.tiff ...
===========================================================
So, the problem is with Imagemagick binary distribution having a different dcraw.
This version converts my files just fine:
===========================================================
D:\ANY\DCRAW\DCRAW_160819>%DCRAW% -v -o 1 -b 1 -w -T INPUTS\DSC00500.ARW
Loading Sony ILCE-5000 image from INPUTS\DSC00500.ARW ...
Scaling with darkness 128, saturation 4095, and
multipliers 3.031250 1.000000 1.566406 1.000000
AHD interpolation...
Converting to sRGB colorspace...
Writing data to INPUTS\DSC00500.tiff ...
===========================================================
So, the problem is with Imagemagick binary distribution having a different dcraw.
Re: dcraw outputs pure black for Sony A5000
We have our own custom version of dcraw and we are now working on fixing the issue. We should have this fixed in a couple days.