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 )构成。
|
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2020-09-10 UTC.
[{
"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":"其他"
}]