Strapi media upload seems to be stripping EXIF data

System Information
  • Strapi Version: v4.14.4
  • Operating System: Mac
  • Database:
  • Node Version: v18.18.2
  • NPM Version:
  • Yarn Version:

Strapi seems to be removing EXIF data from files (images) being uploaded to the Strapi site through media library.

It seems due to the “size optimization” enabled in media setting.
Images are not taking all info with “size optimization” enabled such as keywords, title e.t.c, but it is working fine if we disabled “size optimization” in media setting.

If we turn off size optimization, we will not receive the images in small format for our listing page, assets display page e.t.c and we have significant impact on site performance so it is not recommended to do so.

I have checked on google for the solution and it seems this issue was already raised in Image optimising removed EXIF-data · Issue #6868 · strapi/strapi · GitHub but it has not been resolved and we are on the strapi latest version.

It will be very helpful, if someone provide the solution