Assigned
Status Update
Comments
an...@google.com <an...@google.com>
ib...@google.com <ib...@google.com> #2
We don't have any immediate plans to add HEIF-writing support to ExifInterface
, but we will keep this open to track this as a possible enhancement in future.
ge...@hover.to <ge...@hover.to> #3
Thank you for keeping this open. Is there any Google guidance on how best to handle writing HEIC with Exif right now or other plans outside of ExifInterface? Heifwriter appears like it's unmaintained and again has no example of how to use it's addExifData().
I also saw from
xd...@gmail.com <xd...@gmail.com> #4
I was wondering what is the current recommended mechanism for writing EXIF data for HEIF?
Are there any workarounds until the library officially supports this?
Are there any workarounds until the library officially supports this?
Description
Version used: 1.3.3
Devices/Android versions reproduced on: all devices
ExifInterface currently supports many types for reading Exif, but only a limited number of types for writing Exif. This is a feature request for supporting writing to HEIF images. There was [a similar prior issue](
HEIC images are well supported on iOS, so we're looking for a common format for smaller images than JPEG since our apps requires many images uploaded from users. HEIF images have sort of been supported in Android since 9.0, but the state of HEIF overall is poor compared to say JPEG, PNG, or WebP. We use Exif for a variety of image attributes and poor platform support for it discourages us from using HEIF entirely.
There is currently no easy way to add Exif to HEIF images. HeifWriter as part of the Heifwriter androidx lib is available , but it's for some reason still in alpha release, with no updates at all in several years. As such it also is worrying whether that lib is a long-term solution at all or stable. It has a [addExifData()](
Any advice on how to better accomplish writing Exif for HEIF images currently though is welcome.