This support forum is no longer in use. Please use the Cloudinary Community at https://community.cloudinary.com/ to receive assistance from other members of the community and from Cloudinary's support team. For account-specific questions or if you believe that you've encountered a bug, please contact the Cloudinary team directly via the "submit a request" option on this support site.

Exif information get lost while preprocessing image on upload Android

Comments

5 comments

  • Avatar
    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
    Comment actions Permalink
  • Avatar
    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
    Comment actions Permalink
  • Avatar
    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
    Comment actions Permalink
  • Avatar
    Leonardo Tome

    Hi, is there any news about that feature request?

    0
    Comment actions Permalink
  • Avatar
    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
    Comment actions Permalink

Post is closed for comments.