Skip to main content

Exif information get lost while preprocessing image on upload Android

Comments

5 comments

  • Aditi Madan

    Hi Roman,

    If you add any transformation to the image, Cloudinary strips the image metadata in order to optimize the image. You can use the flag "keep_iptc" when doing the transformation and it will keep the EXIF information.

    Here is more information about it: https://cloudinary.com/documentation/image_transformations#metadata_and_color_profiles_flags

     

    0
  • Roman Nazarevych

    Hi Aditi

    Thank you for your reply.
    In my case EXIF information gets lost while I'm uploading image not downloading, it happens on this step:

    preprocess(ImagePreprocessChain.limitDimensionsChain(CloudinaryConsts.PREFERED_PHOTO_SIZE, CloudinaryConsts.PREFERED_PHOTO_SIZE)
    .addStep(DimensionsValidator(CloudinaryConsts.MIN_PHOTO_SIZE, CloudinaryConsts.MIN_PHOTO_SIZE, CloudinaryConsts.PREFERED_PHOTO_SIZE, CloudinaryConsts.PREFERED_PHOTO_SIZE))
    .saveWith(BitmapEncoder(BitmapEncoder.Format.WEBP, CloudinaryConsts.IMAGE_QUALITY)))
    0
  • Aditi Madan

    Thanks, Roman for the information. At the moment we don't support preprocessing while retaining the EXIF data. I will raise a feature request for this feature.

    Regards,
    Aditi

    0
  • Leonardo Tome

    Hi, is there any news about that feature request?

    0
  • Raya Straus

    Hi Leonardo, 

    This feature has yet to be added to our roadmap. When we'll have more insight on this, we'll update with more information here on this thread. 

    0

Post is closed for comments.