वगैरह 1टूल
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
etc1tool
एक कमांड लाइन यूटिलिटी है जो आपको PNG को कोड में बदलने की सुविधा देती है
ETC1 कंप्रेशन स्टैंडर्ड में इमेज दिखाता है और ETC1 कंप्रेस की गई इमेज को वापस PNG में डिकोड कर देता है.
etc1tool
का इस्तेमाल इस तरह से होता है:
etc1tool infile [--help | --encode | --encodeNoHeader | --decode] [--showDifference
diff-file] [-o outfile]
इस टेबल में कमांड के विकल्प दिए गए हैं:
विकल्प |
ब्यौरा |
infile |
कंप्रेस करने के लिए इनपुट फ़ाइल. |
--help |
प्रिंट के इस्तेमाल की जानकारी. |
--encode |
किसी PNG फ़ाइल से ETC1 फ़ाइल बनाएं.
अगर कुछ नहीं बताया गया है, तो यह टूल के लिए डिफ़ॉल्ट मोड है. |
--encodeNoHeader |
PNG फ़ाइल के हेडर के बिना, एक रॉ ETC1 डेटा फ़ाइल बनाएं. |
--decode |
ETC1 फ़ाइल से PNG फ़ाइल बनाएं. |
--showDifference diff-file |
मूल और एन्कोडेड चित्र के बीच अंतर को इस प्रकार लिखें
diff-file . यह विकल्प, कोड में बदलने के दौरान ही मान्य होता है. |
-o outfile |
आउटपुट फ़ाइल का नाम बताएं.
अगर outfile तय नहीं किया गया है, तो आउटपुट फ़ाइल बनाई जाती है
सही सफ़िक्स (.pkm या .png ) वाले इनपुट फ़ाइल नाम से.
|
इस पेज पर मौजूद कॉन्टेंट और कोड सैंपल कॉन्टेंट के लाइसेंस में बताए गए लाइसेंस के हिसाब से हैं. Java और OpenJDK, Oracle और/या इससे जुड़ी हुई कंपनियों के ट्रेडमार्क या रजिस्टर किए हुए ट्रेडमार्क हैं.
आखिरी बार 2025-07-27 (UTC) को अपडेट किया गया.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 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`). |"]]