sharp
sharp copied to clipboard
Resize losing EXIF data
Hi,
I am using Sharp to resize images after upload to my NodeJS webserver. I'm doing this to reduce the file size saved on the server. However, I would like to retain the EXIF data, specifically the GPS data and this is being lost.
Is this possible?
Many thanks, Paul
Hi, not I didn't spot that.
Thank you very much, all working now :)
For new arrivals, the broken link in @lovell's post is corrected with: https://sharp.pixelplumbing.com/en/stable/api-output/#withmetadata