aheckmann / gm

GraphicsMagick for node
http://aheckmann.github.com/gm/
6.95k stars 615 forks source link

Resize raw file lose the metadata exif #862

Open ilovebioz opened 1 year ago

ilovebioz commented 1 year ago

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'); });