Raw Image to JPEG with metadata
Posted: 2015-07-23T02:04:52-07:00
hi,
I am very new here, i want to convert RAW image(like .CR2 file,.NEF file) to JPEG image with metadata. I write code as follows:
Image image;
image.read("RAW_NIKON_D7000.NEF");
image.write("test.jpg");
I get a test.jpg file in my computer,but there is no metadata(like ISO Speed,lens type, Aperture value...)in test.jpg file.
Question 1: How can I get a jpeg file with metadata?
Question 2: Can I use ImageMagic library to get the DCT coefficients information from JPEG file?
I am very new here, i want to convert RAW image(like .CR2 file,.NEF file) to JPEG image with metadata. I write code as follows:
Image image;
image.read("RAW_NIKON_D7000.NEF");
image.write("test.jpg");
I get a test.jpg file in my computer,but there is no metadata(like ISO Speed,lens type, Aperture value...)in test.jpg file.
Question 1: How can I get a jpeg file with metadata?
Question 2: Can I use ImageMagic library to get the DCT coefficients information from JPEG file?