Code: Select all
mogrify -path convert2/jpgsQuality100/ -quality 100 -chop 0x10 -format jpg *.nef
ImageMagick is losing all the EXIF data though... am I missing something?
I was able to do a similar conversion with ufraw, without losing the EXIF data.
This command is showing me some EXIF data (though it doesn't specify it as EXIF)
Code: Select all
identify -verbose _DSC8361.nef
Base filename: _DSC8361.nef
Format: NEF (Nikon Digital SLR Camera Raw Image File)
Class: DirectClass
Geometry: 2868x4320+0+0
Type: TrueColor
Endianess: Undefined
Colorspace: RGB
Depth: 16-bit
Channel depth:
Red: 16-bit
Green: 16-bit
Blue: 16-bit
Channel statistics:
Red:
Min: 3 (4.57771e-05)
Max: 65501 (0.999481)
Mean: 38827.4 (0.592468)
Standard deviation: 18574 (0.283421)
Green:
Min: 3 (4.57771e-05)
Max: 65361 (0.997345)
Mean: 37917 (0.578577)
Standard deviation: 19331.4 (0.294979)
Blue:
Min: 3 (4.57771e-05)
Max: 65215 (0.995117)
Mean: 37667 (0.574762)
Standard deviation: 20755.1 (0.316703)
Rendering intent: Undefined
Resolution: 72x72
Units: Undefined
Filesize: 70.8948mb
Interlace: None
Background color: white
Border color: rgb(223,223,223)
Matte color: grey74
Transparent color: black
Page geometry: 2868x4320+0+0
Dispose: Undefined
Iterations: 0
Compression: Undefined
Orientation: Undefined
Dng:Aperture: F9
Dng:AutoBlack: 1
Dng:AutoExposure: 1
Dng:ChannelMultipliers: 1.671875 1.000000 1.539063
Dng:CreateID: 1
Dng:Crop: 0 0 2868 4320
Dng:EXIFSource: exiv2 0.16
Dng:Exposure: -0.047403
Dng:FocalLength: 50.0 mm
Dng:FocalLength35: 75.0 mm
Dng:Green: 1.070282
Dng:ISOSpeed: 160
Dng:Lens: 50mm F1.4
Dng:Make: NIKON
Dng:Model: D2Xs
Dng:Orientation: 5
Dng:Shutter: 1/100 s
Dng:Temperature: 5403
Dng:Timestamp: Wed Apr 15 13:43:37 2009
Signature: 1063f11c00bf9c7b6a38294ca926af775bbe78196ca0fb45380d8292eea66dbb
Tainted: False
User time: 0.270u
Elapsed time: 0:02
Pixels per second: 11.8158mb
Version: ImageMagick 6.3.7 02/18/08 Q16 http://www.imagemagick.org