etc1tool
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
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 和/或其关联公司的注册商标。
最后更新时间 (UTC):2022-10-24。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"没有我需要的信息"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"太复杂/步骤太多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"内容需要更新"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/代码问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]