.\" Automatically generated by Pandoc 2.17.1.1 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .TH "ETC1TOOL" "1" "" "" "" .hy .SH NAME .PP etc1tool - ETC1 conversion tool .SH SYNOPSIS .PP \f[B]etc1tool\f[R] \f[I]infile\f[R] [--help | --encode | --encodeNoHeader | --decode] [--showDifference \f[I]difffile\f[R]] [-o \f[I]outfile\f[R]] .SH DESCRIPTION .PP \f[B]etc1tool\f[R] is a command line utility that lets you encode PNG images to the ETC1 compression standard and decode ETC1 compressed images back to PNG. .PP Default is \f[B]--encode\f[R] .SH OPTIONS .TP \f[I]infile\f[R] The input file to compress. .TP --help Print this usage information. .TP --encode Create an ETC1 file from a PNG file. .TP --encodeNoHeader Create a raw ETC1 data file (without a header) from a PNG file. .TP --decode Create a PNG file from an ETC1 file. .TP --showDifference \f[I]difffile\f[R] Write difference between original and encoded image to \f[I]difffile\f[R]. (Only valid when encoding). .TP -o \f[I]outfile\f[R] Specify the name of the output file. If \f[I]outfile\f[R] is not specified, the output file is constructed from the input filename with the appropriate suffix (\f[B].pkm\f[R] or \f[B].png\f[R]). .SH SEE ALSO .PP https://developer.android.com/tools/help/etc1tool.html .SH AUTHORS The Android Open Source Project.