קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
Heifwriter
קידוד תמונה או אוסף תמונות בפורמט HEIF באמצעות הקודקים הזמינים במכשיר Android.
העדכון האחרון |
גרסה יציבה |
גרסה מועמדת להפצה |
גרסת בטא |
גרסת אלפא |
9 באפריל 2025 |
- |
- |
1.1.0-beta01 |
- |
הצהרת יחסי תלות
כדי להוסיף תלות ב-HeifWriter, צריך להוסיף את מאגר Google Maven לפרויקט. מידע נוסף זמין במאגר Maven של Google.
מוסיפים את יחסי התלות של הארטיפקטים הנדרשים בקובץ build.gradle
של האפליקציה או המודול:
מגניב
dependencies {
implementation "androidx.heifwriter:heifwriter:1.1.0-beta01"
}
Kotlin
dependencies {
implementation("androidx.heifwriter:heifwriter:1.1.0-beta01")
}
משוב
המשוב שלכם עוזר לנו לשפר את Jetpack. אם נתקלתם בבעיות חדשות או שיש לכם רעיונות לשיפור הספרייה הזו, נשמח לשמוע מכם. לפני שיוצרים בעיה חדשה, כדאי לעיין בבעיות הקיימות בספרייה הזו. כדי להצביע על בעיה קיימת, לוחצים על לחצן הכוכב.
דיווח על בעיה חדשה
מידע נוסף זמין במסמכי התיעוד של Issue Tracker.
גרסה 1.1
גרסה 1.1.0-beta01
9 באפריל 2025
androidx.heifwriter:heifwriter:1.1.0-beta01
פורסם ללא שינויים משמעותיים. גרסת 1.1.0-beta01 כוללת את ההוספות האלה.
גרסה 1.1.0-alpha05
12 בפברואר 2025
androidx.heifwriter:heifwriter:1.1.0-alpha05
פורסם ללא שינויים משמעותיים מאז גרסת האלפא האחרונה. גרסת 1.1.0-alpha05 כוללת את ההוספות האלה.
גרסה 1.1.0-alpha04
15 בינואר 2025
androidx.heifwriter:heifwriter:1.1.0-alpha04
משוחרר. גרסת 1.1.0-alpha04 כוללת את ההוספות האלה.
תיקוני באגים
- הספרייה הזו משתמשת עכשיו בהערות של JSpecify לגבי ערכים null, שהן שימוש בסוג. מפתחי Kotlin צריכים להשתמש בארגומנט המהדר הבא כדי לאכוף שימוש נכון:
-Xjspecify-annotations=strict
(זוהי ברירת המחדל החל מגרסה 2.1.0 של מהדר Kotlin). (Icdd6c, b/326456246)
- תוקן את הבאג b/372391363, שמאפשר שחרור של תורים במאגר באותו הסדר כדי לתקן את הכשל ב-CTS.
גרסה 1.1.0-alpha03
2 באוקטובר 2024
androidx.heifwriter:heifwriter:1.1.0-alpha03
משוחרר. גרסת 1.1.0-alpha03 מכילה את ההוספות האלה.
תיקוני באגים
גרסה 1.1.0-alpha02
26 ביולי 2023
androidx.heifwriter:heifwriter:1.1.0-alpha02
משוחרר. גרסה 1.1.0-alpha02 מכילה את ההוספות האלה.
תכונות חדשות
- תמיכה בקידוד 10 ביט
- תמיכה בקידוד AVIF
תיקוני באגים
- הוספת ממשקי API ניסיוניים לקובץ current.txt (I1a07e, b/278769092)
- לא רלוונטי, שינויים בקובץ ה-API הם רק שינוי הסדר של השיטות (I5fa95)
- בדיקת איתור שגיאות בקוד של API עבור
MissingGetterMatchingBuilder
מופעלת ב-androidx (I4bbea, b/138602561)
גרסה 1.1.0-alpha01
22 בינואר 2020
androidx.heifwriter:heifwriter:1.1.0-alpha01
משוחרר. גרסה 1.1.0-alpha01 כוללת את ההוספות האלה.
תיקוני באגים
- שיפור הלוגיקה לבחירת מקודד HEVC/HEIC
- שיפור טיפול בחריגות במהלך רצף ההשבתה
- תיקוני באגים במצב בקרת איכות
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. Java ו-OpenJDK הם סימנים מסחריים או סימנים מסחריים רשומים של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-27 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-27 (שעון UTC)."],[],[],null,["# Heifwriter\n==========\n\nAPI Reference \n[androidx.heifwriter](/reference/kotlin/androidx/heifwriter/package-summary) \nEncode an image or image collection in HEIF format using the available codecs on the Android device. \n\n| Latest Update | Stable Release | Release Candidate | Beta Release | Alpha Release |\n|---------------|----------------|-------------------|--------------------------------------------------------------------|---------------|\n| April 9, 2025 | - | - | [1.1.0-beta01](/jetpack/androidx/releases/heifwriter#1.1.0-beta01) | - |\n\nDeclaring dependencies\n----------------------\n\nTo add a dependency on HeifWriter, you must add the Google Maven repository to your\nproject. Read [Google's Maven repository](/studio/build/dependencies#google-maven)\nfor more information.\n\nAdd the dependencies for the artifacts you need in the `build.gradle` file for\nyour app or module: \n\n### Groovy\n\n```groovy\ndependencies {\n implementation \"androidx.heifwriter:heifwriter:1.1.0-beta01\"\n}\n```\n\n### Kotlin\n\n```kotlin\ndependencies {\n implementation(\"androidx.heifwriter:heifwriter:1.1.0-beta01\")\n}\n```\n\nFeedback\n--------\n\nYour feedback helps make Jetpack better. Let us know if you discover new issues or have\nideas for improving this library. Please take a look at the\n[existing issues](https://issuetracker.google.com/issues?q=componentid:460473%20status:open)\nin this library before you create a new one. You can add your vote to an existing issue by\nclicking the star button.\n\n[Create a new issue](https://issuetracker.google.com/issues/new?component=460473&template=1422625)\n\nSee the [Issue Tracker documentation](https://developers.google.com/issue-tracker)\nfor more information.\n\nVersion 1.1\n-----------\n\n### Version 1.1.0-beta01\n\nApril 9, 2025\n\n`androidx.heifwriter:heifwriter:1.1.0-beta01` is released with no notable changes. Version 1.1.0-beta01 contains [these commits](https://android.googlesource.com/platform/frameworks/support/+log/24c00eb294d9cda579d8d6e48a29497fe0f8d3f7..4c37298a97c16270c139eb812ddadaba03e23a52/heifwriter/heifwriter).\n\n### Version 1.1.0-alpha05\n\nFebruary 12, 2025\n\n`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](https://android.googlesource.com/platform/frameworks/support/+log/85de16d348e19418f1602b34c72bcf243514a962..24c00eb294d9cda579d8d6e48a29497fe0f8d3f7/heifwriter/heifwriter).\n\n### Version 1.1.0-alpha04\n\nJanuary 15, 2025\n\n`androidx.heifwriter:heifwriter:1.1.0-alpha04` is released. Version 1.1.0-alpha04 contains [these commits](https://android.googlesource.com/platform/frameworks/support/+log/b6ae8d0a0e8cd803f7b84f30101eda1af4f1d6b6..85de16d348e19418f1602b34c72bcf243514a962/heifwriter/heifwriter).\n\n**Bug Fixes**\n\n- This library now uses [JSpecify nullness annotations](https://jspecify.dev/), 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](https://android-review.googlesource.com/#/q/Icdd6c7401ac3b05b2842859da3dfe0bc9a78365e), [b/326456246](https://issuetracker.google.com/issues/326456246))\n- Fixed [b/372391363](https://issuetracker.google.com/issues/372391363) releasing buffer queues in the correct order to fix CTS failure.\n\n### Version 1.1.0-alpha03\n\nOctober 2, 2024\n\n`androidx.heifwriter:heifwriter:1.1.0-alpha03` is released. Version 1.1.0-alpha03 contains [these commits](https://android.googlesource.com/platform/frameworks/support/+log/c07f19942f7b20c74b9e72a0a706a0dc89adddfc..b6ae8d0a0e8cd803f7b84f30101eda1af4f1d6b6/heifwriter/heifwriter).\n\n**Bug Fixes**\n\n- Fixes in documentation\n\n### Version 1.1.0-alpha02\n\nJuly 26, 2023\n\n`androidx.heifwriter:heifwriter:1.1.0-alpha02` is released. [Version 1.1.0-alpha02 contains these commits.](https://android.googlesource.com/platform/frameworks/support/+log/0a3d894e8fe0217f1312fb163a89ad51bf15794e..c07f19942f7b20c74b9e72a0a706a0dc89adddfc/heifwriter/heifwriter)\n\n**New Features**\n\n- 10-bit encoding support\n- AVIF encoding support\n\n**Bug Fixes**\n\n- Include experimental APIs in current.txt ([I1a07e](https://android-review.googlesource.com/#/q/I1a07e82e0e35b5fe361bfe02a3c42a2b2b85e2cb), [b/278769092](https://issuetracker.google.com/issues/278769092))\n- N/A, API file changes are just reordering methods ([I5fa95](https://android-review.googlesource.com/#/q/I5fa95ca42073461bed8e5020c91b4c0894b70753))\n- API lint check for `MissingGetterMatchingBuilder` is enabled for androidx ([I4bbea](https://android-review.googlesource.com/#/q/I4bbeacf9869d8338a3d7086acb40bc56ec68c3f9), [b/138602561](https://issuetracker.google.com/issues/138602561))\n\n### Version 1.1.0-alpha01\n\nJanuary 22, 2020\n\n`androidx.heifwriter:heifwriter:1.1.0-alpha01` is released. [Version 1.1.0-alpha01 contains these commits](https://android.googlesource.com/platform/frameworks/support/+log/50a39caa72955aae0c75225fd9805ab537cbf049..0a3d894e8fe0217f1312fb163a89ad51bf15794e/heifwriter).\n\n**Bug fixes**\n\n- Fined tune logic to pick HEVC/HEIC encoder\n- Improved the exception handling during the shutdown sequence\n- Bug fixes for quality control mode"]]