I used the below structure to resize a raw image .nef but the output jpg file lose the metadata. Can we have some way to
keep the EXIF metadata for the output jpg file.
gm('/path/to/my/img.nef')
.resize(240, 240)
.write('/path/to/resize.jpg', function (err) {
if (!err) console.log('done');
});