כלי וכו'1
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
etc1tool
הוא כלי לשורת הפקודה שמאפשר לקודד בפורמט PNG
של תמונות לתקן הדחיסה ETC1, ולפענח תמונות דחוסות מסוג ETC1 בחזרה ל-PNG.
השימוש ב-etc1tool
הוא:
etc1tool infile [--help | --encode | --encodeNoHeader | --decode] [--showDifference
diff-file] [-o outfile]
בטבלה הזו מפורטות אפשרויות הפקודה:
אפשרות |
תיאור |
infile |
קובץ הקלט לדחיסה. |
--help |
הדפסה של פרטי השימוש. |
--encode |
יוצרים קובץ ETC1 מקובץ PNG.
זהו מצב ברירת המחדל של הכלי אם לא צוין דבר. |
--encodeNoHeader |
יצירת קובץ נתוני ETC1 גולמיים ללא כותרת מקובץ PNG. |
--decode |
יוצרים קובץ PNG מקובץ ETC1. |
--showDifference diff-file |
כתבו את ההבדל בין התמונה המקורית לתמונה המקודדת כדי
diff-file האפשרות הזו תקפה רק בזמן קידוד. |
-o outfile |
מציינים את השם של קובץ הפלט.
אם לא מציינים את outfile , קובץ הפלט נוצר
משם קובץ הקלט עם הסיומת המתאימה (.pkm או .png ).
|
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. Java ו-OpenJDK הם סימנים מסחריים או סימנים מסחריים רשומים של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-27 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-27 (שעון UTC)."],[],[],null,["# etc1tool\n\n`etc1tool` is a command line utility that lets you encode PNG\nimages to the [ETC1](https://registry.khronos.org/OpenGL/extensions/OES/OES_compressed_ETC1_RGB8_texture.txt) compression standard and decode ETC1 compressed images back to PNG.\n\nThe usage for `etc1tool` is: \n\n```\netc1tool infile [--help | --encode | --encodeNoHeader | --decode] [--showDifference\ndiff-file] [-o outfile]\n```\n\nThis table lists the command options:\n\n| Option | Description |\n|--------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `infile` | The input file to compress. |\n| `--help` | Print usage information. |\n| `--encode` | Create an ETC1 file from a PNG file. This is the default mode for the tool if nothing is specified. |\n| `--encodeNoHeader` | Create a raw ETC1 data file without a header from a PNG file. |\n| `--decode` | Create a PNG file from an ETC1 file. |\n| `--showDifference `*diff-file* | Write the difference between the original and encoded image to *diff-file*. This option is only valid when encoding. |\n| `-o `*outfile* | Specify the name of the output file. If *outfile* is not specified, the output file is constructed from the input filename with the appropriate suffix (`.pkm` or `.png`). |"]]