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 )가 있는 입력 파일 이름을 사용하여 구성됩니다.
|
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 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`). |"]]