.\" Automatically generated by Pandoc 2.2.1 .\" .TH "ETC1TOOL" "1" "" "" "" .hy .SH NAME .PP etc1tool \- ETC1 conversion tool .SH SYNOPSIS .PP \f[B]etc1tool\f[] \f[I]infile\f[] [\[en]help | \[en]encode | \[en]encodeNoHeader | \[en]decode] [\[en]showDifference \f[I]difffile\f[]] [\-o \f[I]outfile\f[]] .SH DESCRIPTION .PP \f[B]etc1tool\f[] 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]\[en]encode\f[] .SH OPTIONS .TP .B \f[I]infile\f[] The input file to compress. .RS .RE .TP .B \[en]help Print this usage information. .RS .RE .TP .B \[en]encode Create an ETC1 file from a PNG file. .RS .RE .TP .B \[en]encodeNoHeader Create a raw ETC1 data file (without a header) from a PNG file. .RS .RE .TP .B \[en]decode Create a PNG file from an ETC1 file. .RS .RE .TP .B \[en]showDifference \f[I]difffile\f[] Write difference between original and encoded image to \f[I]difffile\f[]. (Only valid when encoding). .RS .RE .TP .B \-o \f[I]outfile\f[] Specify the name of the output file. If \f[I]outfile\f[] is not specified, the output file is constructed from the input filename with the appropriate suffix (\f[B].pkm\f[] or \f[B].png\f[]). .RS .RE .SH SEE ALSO .PP https://developer.android.com/tools/help/etc1tool.html .SH AUTHORS The Android Open Source Project.