Home / Technology / Extract JPG From RAW or NEF File Using Exiftool

Extract JPG From RAW or NEF File Using Exiftool

If you are using a DSLR, you definitely know about RAW format. In DSLRs we have an option to save the image in JPEG or RAW format or both (with takes more space in the memory card). The advantage of RAW format is, it is uncompressed and stores more details related to the image captured. RAW format help photogtaphers to correct the images using post processing tools, like, https://www.adobe.com/in/products/photoshop-lightroom.html, https://rawtherapee.com, https://www.darktable.org etc. But I am not a professional photographer but a hobbyist. Though I store images in RAW format, thinking that in future I do post processing, I want them to convert it to JPEG and share it in social media platforms like https://facebook.com, https://instagram.com etc and photo blogs like https://www.viewbug.com. I was looking for a command line tool to simply convert my RAW files to JPEG.

Exiftool

ExifTool is a free and open-source software program for reading, writing, and manipulating image, audio, video, and PDF metadata. Though the tool handled multiple file formats I am very much interested in using this for creating JPGs from NEF format. I use Nikon DSLR and store my images in NEF format. You can read more about Exiftool at https://www.sno.phy.queensu.ca/~phil/exiftool/.

Extracting JPG from RAW or NEF

$ exiftool -b -JpgFromRaw image.NEF > image.jpg

The above command reads the image.NEF file and converts it into image.jpg. I tried opening the NEF file in Krita, but somehow I am not happy with the output JPG file.

Below are the links to my images at viewbug:

https://www.viewbug.com/photo/81099326

https://www.viewbug.com/photo/81099401

https://www.viewbug.com/photo/81099223


Comments