SupabaseS
Supabase3y ago
Igor

Clear out file metadata on upload to storage?

How can I approach clearing out the metadata (like exif, or gps coordinates, etc) when dealing with media files upload to the Storage?

I know there're things like Sharp (https://github.com/lovell/sharp), but I'm worried this might be an overkill since it's primarily designed for transforming images and might increase my Vercel compute cost. Although I very much may have no idea what I'm talking about.

Looking for any advice! Thank you.
Was this page helpful?