AndroidX ExifInterface

Frameworks & LibrariesAI extracted

AndroidX's reader and writer for EXIF metadata in JPEG, PNG, WebP, HEIF and raw image files.

Latest 1.5.0-beta01 · by GoogleWebsiteRSS

Release activity

Release activity — 3 releases across 3 days in the last year. Each cell is one day; darker means more releases that day. Older weeks are hidden at this screen width.
AugSepOctNov
SundayNo releases on Aug 2, 2026No releases on Aug 9, 2026No releases on Aug 16, 2026No releases on Aug 23, 2026No releases on Aug 30, 2026No releases on Sep 6, 2026No releases on Sep 13, 2026No releases on Sep 20, 2026No releases on Sep 27, 2026No releases on Oct 4, 2026No releases on Oct 11, 2026No releases on Oct 18, 2026No releases on Oct 25, 2026No releases on Nov 1, 2026No releases on Nov 8, 2026No releases on Nov 15, 2026
MondayNo releases on Aug 3, 2026No releases on Aug 10, 2026No releases on Aug 17, 2026No releases on Aug 24, 2026No releases on Aug 31, 2026No releases on Sep 7, 2026No releases on Sep 14, 2026No releases on Sep 21, 2026No releases on Sep 28, 2026No releases on Oct 5, 2026No releases on Oct 12, 2026No releases on Oct 19, 2026No releases on Oct 26, 2026No releases on Nov 2, 2026No releases on Nov 9, 2026
TuesdayNo releases on Aug 4, 2026No releases on Aug 11, 2026No releases on Aug 18, 2026No releases on Aug 25, 2026No releases on Sep 1, 2026No releases on Sep 8, 2026No releases on Sep 15, 2026No releases on Sep 22, 2026No releases on Sep 29, 2026No releases on Oct 6, 2026No releases on Oct 13, 2026No releases on Oct 20, 2026No releases on Oct 27, 2026No releases on Nov 3, 2026No releases on Nov 10, 2026
WednesdayNo releases on Aug 5, 2026No releases on Aug 12, 2026No releases on Aug 19, 2026No releases on Aug 26, 2026No releases on Sep 2, 2026No releases on Sep 9, 2026No releases on Sep 16, 2026No releases on Sep 23, 2026No releases on Sep 30, 2026No releases on Oct 7, 2026No releases on Oct 14, 20261 release on Oct 21, 2026No releases on Oct 28, 20261 release on Nov 4, 2026No releases on Nov 11, 2026
ThursdayNo releases on Aug 6, 2026No releases on Aug 13, 2026No releases on Aug 20, 2026No releases on Aug 27, 2026No releases on Sep 3, 2026No releases on Sep 10, 2026No releases on Sep 17, 2026No releases on Sep 24, 2026No releases on Oct 1, 2026No releases on Oct 8, 2026No releases on Oct 15, 2026No releases on Oct 22, 2026No releases on Oct 29, 2026No releases on Nov 5, 2026No releases on Nov 12, 2026
FridayNo releases on Aug 7, 2026No releases on Aug 14, 2026No releases on Aug 21, 2026No releases on Aug 28, 2026No releases on Sep 4, 2026No releases on Sep 11, 2026No releases on Sep 18, 2026No releases on Sep 25, 2026No releases on Oct 2, 2026No releases on Oct 9, 2026No releases on Oct 16, 2026No releases on Oct 23, 2026No releases on Oct 30, 2026No releases on Nov 6, 2026No releases on Nov 13, 2026
SaturdayNo releases on Aug 8, 2026No releases on Aug 15, 2026No releases on Aug 22, 2026No releases on Aug 29, 2026No releases on Sep 5, 2026No releases on Sep 12, 2026No releases on Sep 19, 2026No releases on Sep 26, 2026No releases on Oct 3, 2026No releases on Oct 10, 2026No releases on Oct 17, 2026No releases on Oct 24, 2026No releases on Oct 31, 2026No releases on Nov 7, 2026No releases on Nov 14, 2026

3 releases in the last year

Changelog

1.5.0-beta01

Latest

androidx.exifinterface:exifinterface:1.5.0-beta01 is released. Version 1.5.0-beta01 contains these commits.

View originalPermalink
How 1.5.0-beta01 went

1.5.0-alpha01

Changed 1
  • Moved the default minSdk from API 21 to API 23
Fixed 1
  • Fixed isSupportedMimeType to match existing parsing support for HEIC (API 28+) and AVIF (API 31+)
Removed 1
  • Removed obsolete @RequiresApi(21) annotations
View originalRead the notes
How 1.5.0-alpha01 went

1.4.2

Fixed 1
  • Support parsing JPEGs with additional (permitted) 0xFF bytes before any marker.
View originalRead the notes
How 1.4.2 went

1.4.1

Fixed 1
  • Passing null to setAttribute for TAG_XMP no longer throws an exception.
View originalRead the notes
How 1.4.1 went

1.4.0

androidx.exifinterface:exifinterface:1.4.0 is released. Version 1.4.0 contains these commits.

View originalRead the notes
How 1.4.0 went

1.4.0-rc01

androidx.exifinterface:exifinterface:1.4.0-rc01 is released with no changes since beta01. Version 1.4.0-rc01 contains these commits.

View originalRead the notes
How 1.4.0-rc01 went

1.4.0-beta01

Changed 1
  • Update HEIC XMP handling to prefer XMP data from a separate segment in the file, rather than tag 700 in the Exif data
Fixed 3
  • ExifInterface.getThumbnail*() method works correctly after a call to saveAttributes(), where previously the calls succeeded but returned incorrect or undefined results
  • PNG XMP handling reads and writes the separate iTXt XMP chunk instead of tag 700 inside the eXIf chunk
  • WebP image corruption when handling image files with trailing non-WebP data
View originalRead the notes
How 1.4.0-beta01 went

1.4.0-alpha01

Added 2
  • Add support for reading XMP data from HEIF images.
  • Add support for reading Exif and XMP from AVIF images.
Changed 5
  • Indicate that the location param for setGpsInfo is @Nullable and that passing null will result in a No-Op.
  • Accept rational format (x/y) to setAttribute for legacy rational tags which are auto-converted to decimal when returned from getAttribute.
  • Ensure XMP data added to a JPEG image which doesn't already contain XMP is written to a separate segment, as specified by the XMP spec.
  • This library now uses JSpecify nullness annotations, which are type-use; Kotlin developers should use the compiler argument -Xjspecify-annotations=strict.
  • Removed manual outlining of access to new platform APIs since this happens automatically via API modeling when using R8 with AGP 7.3 or later or D8 version 8.1 or later.
Fixed 6
  • Continue parsing after encountering an invalid IFD offset.
  • Handle WebP images which incorrectly contain a JPEG APP1 marker before their Exif data.
  • Ensure XMP changes in JPEGs with a separate XMP segment are stored into the same separate XMP segment by saveAttributes(), instead of being written to TIFF/Exif tag 700.
  • Avoid duplicating XMP data from a separate segment into the TIFF preview directory when saving.
  • Improve precision of double to rational conversions.
  • Fix corrupted output when writing WebP images with a height or width greater than 8191px.
View originalRead the notes
How 1.4.0-alpha01 went

1.3.7

Fixed 2
  • ExifInterface.saveAttributes() now throws an exception when attempting to write a JPEG APP1 segment that is too large, instead of writing an invalid segment with a truncated length
  • ExifInterface continues parsing after encountering an invalid IFD offset, instead of halting immediately, which previously could result in incorrect values being returned
View originalRead the notes
How 1.3.7 went

1.3.6

Fixed 1
  • Fix reading of alpha bit from WebP VP8L chunks (b/255405635)
View originalRead the notes
How 1.3.6 went

1.3.5

Fixed 1
  • Fixed two cases of saveAttributes() producing invalid WebP files
View originalRead the notes
How 1.3.5 went

1.3.4

Fixed 1
  • Saving attributes to DNG files no longer produces corrupted files
Removed 1
  • Remove support for saving attributes to DNG files
View originalRead the notes
How 1.3.4 went

1.3.3

Added 1
  • Add support for saving attributes for DNG files
Fixed 5
  • Fix parsing of subsec-related tags
  • Prevent RuntimeException when calling setDataSource
  • Prevent skipBytes from infinitely looping
  • Catch RuntimeException from MediaMetadataRetriever
  • Replace non-thumbnail tags with thumbnail tags
View originalRead the notes
How 1.3.3 went

1.3.2

Added 1
  • Added support for reading/writing a secondary format (2020-01-01 00:00:00) of the DateTime tag.
Fixed 2
  • Allows SRATIONAL for GPS_LATITUDE and GPS_LONGITUDE.
  • Prevented the temporary removal of the origin file while calling saveAttribute().
View originalRead the notes
How 1.3.2 went

1.3.1

Fixed 1
  • Fix saveAttributes implementation to keep the image data in MediaProvider
View originalRead the notes
How 1.3.1 went

1.3.0

Added 1
  • Extended WebP EXIF writing support to include files that only contain VP8 or VP8L chunks
Changed 1
  • getGpsDateTime returns Long.MIN_VALUE instead of -1 for an invalid value
Fixed 1
  • Removed unnecessary buffering that was causing OutOfMemory exceptions for large image files
Removed 1
  • Removed INVALID_DATE_TIME; use NULL instead to return invalid datetime values
View originalRead the notes
How 1.3.0 went

1.3.0-rc01

androidx.exifinterface:exifinterface:1.3.0-rc01 is released with no changes since 1.3.0-beta01. Version 1.3.0-rc01 contains these commits.

View originalRead the notes
How 1.3.0-rc01 went

1.3.0-beta01

Added 1
  • Extended WebP EXIF writing support to include files that only contain VP8 or VP8L chunks
Changed 2
  • Default locale is set to US
  • Temp file creation uses a prefix instead of appending ".tmp"
Fixed 3
  • getGpsDateTime returns Long.MIN_VALUE instead of -1, because -1 is a valid value
  • DateTime-related getters consider the offset value (+/-) of the date string
  • Removed unnecessary buffering that caused OutOfMemory exceptions for large image files
Removed 1
  • Removed INVALID_DATE_TIME; use NULL to return an invalid datetime value instead
View originalRead the notes
How 1.3.0-beta01 went

1.2.0

Added 4
  • Added support for adding EXIF to PNG files
  • Added support for WebP files and EXIF data only stream
  • Added an API to check if the specified mime type is supported
  • Added more tags for offset time: TAG_OFFSET_TIME, TAF_OFFSET_TIME_DIGITIZED, and TAG_OFFSET_TIME_ORIGINAL
View originalRead the notes
How 1.2.0 went

1.2.0-rc01

Fixed 1
  • Fixed an issue where JPEG files were incorrectly saved if the JPEG had XMP data
View originalRead the notes
How 1.2.0-rc01 went

1.2.0-beta01

Added 5
  • Support for adding EXIF metadata to PNG files
  • Support for reading and writing EXIF metadata from WebP files
  • Support for an EXIF data only stream
  • An API to check whether a specified mime type is supported
  • Exposed the read and write OffsetTime* tags
Fixed 1
  • Incorrect offsets were being returned for getAttributeRange()
View originalRead the notes
How 1.2.0-beta01 went

1.1.0

Added 5
  • Support for HEIF format and more XMP tags
  • Added support for constructing an ExifInterface object from a File or FileDescriptor
  • Added hasAttribute method for checking whether an attribute is present
  • Added getAttributeBytes method for retrieving attribute values as bytes
  • Added getAttributesRange method for retrieving attributes within a range
View originalRead the notes
How 1.1.0 went

1.1.0-rc01

Fixed 3
  • Added a missing format name (IFD) to prevent an ArrayIndexOutOfBoundsException on loadAttributes
  • Prevented the deletion of the origin file when an exception happens while calling saveAttributes
  • Fixed an exception issue when there is a call to saveAttributes() after overwriting a file
View originalRead the notes
How 1.1.0-rc01 went

1.1.0-beta01

Added 1
  • Support for XMP tags
Changed 1
  • Throws NullPointerException when null is set for @NonNull arguments
View originalRead the notes
How 1.1.0-beta01 went

1.1.0-alpha01

Added 2
  • Support for HEIF format
  • More constructors for ExifInterface
Fixed 2
  • Typo in TAG_CAMARA_OWNER_NAME renamed to TAG_CAMERA_OWNER_NAME
  • Check for possible overflow of thumbnail image fixed
View originalRead the notes
How 1.1.0-alpha01 went
View all

Discussion