gpt4 book ai didi

android - 什么是 etc1tool?

转载 作者:塔克拉玛干 更新时间:2023-11-03 00:42:44 24 4
gpt4 key购买 nike

我看到android SDK platform-tools 文件夹中有一个名为etc1tool 的程序。

它说它将PNG文件转换为ETC1,但什么是ETC1文件?

我不明白它是什么以及何时使用它。

帮助(下),ubuntu man page , 和 android doc似乎也没有解释。

$ ./etc1tool --help./etc1tool infile [--help | --encode | --encodeNoHeader | --decode] [--showDifference difffile] [-o outfile]    Default is --encode        --help           print this usage information.        --encode         create an ETC1 file from a PNG file.        --encodeNoHeader create a raw ETC1 data file (without a header) from a PNG file.        --decode         create a PNG file from an ETC1 file.        --showDifference difffile    Write difference between original and encoded                                     image to difffile. (Only valid when encoding).    If outfile is not specified, an outfile path is constructed from infile,    with the apropriate suffix (.pkm or .png).

注意 [sic] 表示“适当”。

最佳答案

压缩纹理。规范是 here .

关于android - 什么是 etc1tool?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5019847/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com