Here is a sample image:
This was saved from Photoshop from the RAW file. No adjustments have been made.

Here is the same file after ImageMagick has created the JPG preview

Can someone point me in the right direction of why this may be? Thanks!
Code: Select all
magick _INT5470.NEF -profile "AdobeRGB1998.icc" test.jpg
If you're asking about the Camera RAW panel that pops up, I'm not making any adjustments there. Other than that, I'm not sure. I'm a long-time Photoshop user, but I don't remember anything about the header size.fmw42 wrote: ↑2017-02-06T13:23:16-07:00 Can you tell me what arguments you put in the RAW panel to import the NEF file. I tried using what IM suggested for the file size, etc, but my ancient Photoshop CS would not open the file. I think it wants the size of the header.
My test of converting the NEF in IM 7.0.4.7 Q16 Mac OSX came out dark also. Also adding -auto-level. Also converting to TIF.
So I think Photoshop may be reading some color correction information and automatically applying it.
Ok. I think you're onto something here. I'm learning as I go here. I downloaded and ran UFRaw. I open the same NEF file, and it shows that it's dark, just like the JPGs I've been getting from IM. After following this gentleman's instructions:fmw42 wrote: ↑2017-02-06T13:40:25-07:00 It is likely the dng delegate.xml line. The file shows DNG meta data. Here is the dng line, which calls ufraw. So likely ufraw needs some modification to handle the auto-contrast/brightness in some way. I do not use ufraw. But you might try processing your NEF using ufraw directly and see what arguments need changing in the DNG line of the delegates.xml file.
<delegate decode="dng:decode" command=""ufraw-batch" --silent --create-id=also --out-type=png --out-depth=16 "--output=%u.png" "%i""/>
Perhaps one of the IM users who process raw files might be able to suggest the proper ufraw command.
I apologize. I somehow missed that post. I did resize the images so they wouldn't be so large. You may be correct that Windows Explorer (and even Onedrive) use an embedded preview. I had forgotten about that.
Code: Select all
exiftool -PreviewImage -b _INT5470.NEF >p.jpg
exiftool -JpgFromRaw -b _INT5470.NEF >j.jpg
Code: Select all
dcraw -6 -w -T -O x3.tiff _INT5470.NEF