Heifwriter
| Latest Update | Stable Release | Release Candidate | Beta Release | Alpha Release |
|---|---|---|---|---|
| October 22, 2025 | 1.1.0 | - | - | 1.2.0-alpha01 |
Declaring dependencies
To add a dependency on HeifWriter, you must add the Google Maven repository to your project. Read Google's Maven repository for more information.
Add the dependencies for the artifacts you need in the build.gradle file for
your app or module:
Groovy
dependencies { implementation "androidx.heifwriter:heifwriter:1.2.0-alpha01" }
Kotlin
dependencies { implementation("androidx.heifwriter:heifwriter:1.2.0-alpha01") }
Feedback
Your feedback helps make Jetpack better. Let us know if you discover new issues or have ideas for improving this library. Please take a look at the existing issues in this library before you create a new one. You can add your vote to an existing issue by clicking the star button.
See the Issue Tracker documentation for more information.
Version 1.2
Version 1.2.0-alpha01
October 22, 2025
androidx.heifwriter:heifwriter:1.2.0-alpha01 is released. Version 1.2.0-alpha01 contains these commits.
New Features
- A new
EncoderPreferenceclass has been implemented. This enhancement enablesHeifWriterto consider encoder preferences, such as hardware or software encoding and enforcement of Constant Quantization (CQ), during the encoder selection process. If a suitable encoder cannot be found based on the specified preferences, an exception will be raised.
API Changes
- Added
EncoderPreferenceclass. I81efd
Version 1.1
Version 1.1.0
October 08, 2025
androidx.heifwriter:heifwriter:1.1.0 is released. Version 1.1.0 contains these commits.
Version 1.1.0-rc02
September 24, 2025
androidx.heifwriter:heifwriter:1.1.0-rc02 is released. Version 1.1.0-rc02 contains these commits.
Version 1.1.0-rc01
August 27, 2025
androidx.heifwriter:heifwriter:1.1.0-rc01 is released. Version 1.1.0-rc01 contains these commits.
Version 1.1.0-beta01
April 9, 2025
androidx.heifwriter:heifwriter:1.1.0-beta01 is released with no notable changes. Version 1.1.0-beta01 contains these commits.
Version 1.1.0-alpha05
February 12, 2025
androidx.heifwriter:heifwriter:1.1.0-alpha05 is released with no notable changes since the last alpha. Version 1.1.0-alpha05 contains these commits.
Version 1.1.0-alpha04
January 15, 2025
androidx.heifwriter:heifwriter:1.1.0-alpha04 is released. Version 1.1.0-alpha04 contains these commits.
Bug Fixes
- This library now uses JSpecify nullness annotations, which are type-use. Kotlin developers should use the following compiler argument to enforce correct usage:
-Xjspecify-annotations=strict(this is the default starting with version 2.1.0 of the Kotlin compiler). (Icdd6c, b/326456246) - Fixed b/372391363 releasing buffer queues in the correct order to fix CTS failure.
Version 1.1.0-alpha03
October 2, 2024
androidx.heifwriter:heifwriter:1.1.0-alpha03 is released. Version 1.1.0-alpha03 contains these commits.
Bug Fixes
- Fixes in documentation
Version 1.1.0-alpha02
July 26, 2023
androidx.heifwriter:heifwriter:1.1.0-alpha02 is released. Version 1.1.0-alpha02 contains these commits.
New Features
- 10-bit encoding support
- AVIF encoding support
Bug Fixes
- Include experimental APIs in current.txt (I1a07e, b/278769092)
- N/A, API file changes are just reordering methods (I5fa95)
- API lint check for
MissingGetterMatchingBuilderis enabled for androidx (I4bbea, b/138602561)
Version 1.1.0-alpha01
January 22, 2020
androidx.heifwriter:heifwriter:1.1.0-alpha01 is released. Version 1.1.0-alpha01 contains these commits.
Bug fixes
- Fined tune logic to pick HEVC/HEIC encoder
- Improved the exception handling during the shutdown sequence
- Bug fixes for quality control mode