I have .NEF files that I want to convert to .jpg. I want to preserve the image quality 100%. I was able to convert the image however the jpg is much darker than the original image. I have tried most of the suggestions in the forum but none of them fixed my issue (they either make it darker or lighter but never the exact conversion).
I use the following command for conversion:
Code: Select all
convert DSC_0684.NEF -quality 100% DSC_0684.jpg
when i do :
Code: Select all
identify -verbose DSC_0684.NEF
Code: Select all
Base filename: DSC_0684.NEF
Format: NEF (Nikon Digital SLR Camera Raw Image File)
Class: DirectClass
Geometry: 6036x4020+0+0
Units: Undefined
Type: TrueColor
Endianess: Undefined
Colorspace: sRGB
Depth: 16-bit
Channel depth:
red: 16-bit
green: 16-bit
blue: 16-bit
Channel statistics:
Pixels: 24264720
Red:
min: 0 (0)
max: 65535 (1)
mean: 7863.33 (0.119987)
standard deviation: 5914.13 (0.0902439)
kurtosis: 17.6988
skewness: 2.95783
entropy: 0.8162
Green:
min: 0 (0)
max: 65535 (1)
mean: 9157.82 (0.139739)
standard deviation: 4752.79 (0.0725229)
kurtosis: 14.6816
skewness: 2.36324
entropy: 0.834942
Blue:
min: 0 (0)
max: 65535 (1)
mean: 8997.15 (0.137288)
standard deviation: 4588.12 (0.0700102)
kurtosis: 6.22786
skewness: 1.09649
entropy: 0.872226
Image statistics:
Overall:
min: 0 (0)
max: 65535 (1)
mean: 8672.77 (0.132338)
standard deviation: 5119.14 (0.0781131)
kurtosis: 15.0886
skewness: 2.33448
entropy: 0.841123
Rendering intent: Perceptual
Gamma: 0.454545
Chromaticity:
red primary: (0.64,0.33)
green primary: (0.3,0.6)
blue primary: (0.15,0.06)
white point: (0.3127,0.329)
Background color: white
Border color: srgb(223,223,223)
Matte color: grey74
Transparent color: black
Interlace: None
Intensity: Undefined
Compose: Over
Page geometry: 6036x4020+0+0
Dispose: Undefined
Iterations: 0
Compression: Zip
Orientation: TopLeft
Properties:
date:create: 2016-03-24T16:12:31-04:00
date:modify: 2016-03-24T16:12:31-04:00
dng:Aperture: F3.5
dng:AspectRatio: 1.501493
dng:ChannelMultipliers: 2.386719 1.000000 1.597656 1.000000
dng:CreateID: 1
dng:Crop: 0 0 6036 4020
dng:EXIFSource: exiv2 0.25
dng:FocalLength: 18.0 mm
dng:FocalLength35: 27.0 mm
dng:Green: 1.072
dng:ISOSpeed: 6400
dng:Lens: Nikon AF-S DX Nikkor 18-140mm f/3.5-5.6G ED VR
dng:Make: Nikon
dng:MatrixInputProfile: Color matrix
dng:Model: D7100
dng:Orientation: 0
dng:Rotation: 0.000000
dng:Shutter: 2 s
dng:sRGBOutputProfile: sRGB
dng:Temperature: 5073
dng:Timestamp: Sun Dec 20 22:54:32 2015
dng:WB: Camera WB
dng:WBFineTuning: 0
exif:Artist:
exif:CFAPattern: 2, 0, 2, 0, 0, 1, 1, 2
exif:ColorSpace: 1
exif:Contrast: 0
exif:Copyright:
exif:CustomRendered: 0
exif:DateTime: 2015:12:20 22:54:32
exif:DateTimeDigitized: 2015:12:20 22:54:32
exif:DateTimeOriginal: 2015:12:20 22:54:32
exif:DigitalZoomRatio: 1/1
exif:ExifOffset: 416
exif:ExposureBiasValue: 0/6
exif:ExposureMode: 1
exif:ExposureProgram: 1
exif:ExposureTime: 20/10
exif:FileSource: 3
exif:Flash: 16
exif:FNumber: 35/10
exif:FocalLength: 180/10
exif:FocalLengthIn35mmFilm: 27
exif:GainControl: 2
exif:GPSInfo: 4768
exif:GPSVersionID: 2, 3, 0, 0
exif:ISOSpeedRatings: 6400
exif:LightSource: 9
exif:Make: NIKON CORPORATION