ETC1TOOL(1)

πŸ“¦
version 34.0.5 Β· 4 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– ETC1TOOL(1) πŸ’–

okay bestie, sit down, hydrate, and let me tell you about etc1tool β€” the ETC1 conversion tool from the ETC1TOOL(1) manual. it's giving command-line glow-up and honestly? we're obsessed. πŸ¦‹


✨ NAME ✨

etc1tool β€” the ETC1 conversion tool, aka your little conversion bestie πŸ’…


🌸 SYNOPSIS 🌸

etc1tool infile [--help | --encode | --encodeNoHeader | --decode]
[--showDifference difffile] [-o outfile]

like, that's the whole vibe. you feed it an infile, you pick a mode, you optionally hand it a difffile or an outfile, and it does the thing. periodt. ✨


πŸŽ€ DESCRIPTION πŸŽ€

so etc1tool is a command line utility that lets you encode PNG images into the ETC1 compression standard 🌈 and also decode ETC1 compressed images right back into PNG. it's a two-way street and both directions ate, no cap.

ngl, the default is --encode. if you don't say anything, it's encoding. main character energy 🫢

πŸ’… OPTIONS πŸ’…

  • infile β€” the input file you want to compress. that's the one you're feeding in, bestie πŸ“
  • --help β€” prints this usage information. like, when you're lost, it's right there. iconic behaviour honestly πŸ’œ
  • --encode β€” creates an ETC1 file from a PNG file. PNG goes in, ETC1 comes out. slay ✨
  • --encodeNoHeader β€” creates a raw ETC1 data file (no header, she's au naturel) from a PNG file. yes, that means literally no header. you've been warned πŸ™ˆ
  • --decode β€” creates a PNG file from an ETC1 file. reverse uno card, and she plays it flawlessly πŸ’–
  • --showDifference difffile β€” writes the difference between the original image and the encoded image into difffile. πŸ‘‘ lowkey so useful for peeking at what got lost in the compression.
heads up bestie: this is only valid when encoding. don't come for me if you try it while decoding 😭
  • -o outfile β€” specify the name of the output file. and if you don't pass outfile? the output file gets constructed from the input filename with the appropriate suffix, which is .pkm or .png. the tool picks for you, very generous of her 🌸

🌈 SEE ALSO 🌈

https://developer.android.com/tools/help/etc1tool.html β€” go read the lore, iykyk πŸ“–βœ¨


πŸ’œ AUTHORS πŸ’œ

The Android Open Source Project. yeah, the Android Open Source Project. legends only, fr fr πŸ‘‘


and that's the whole ETC1TOOL(1) manual page, bestie β€” straight from the ETC1TOOL(1) source, no version or date drama attached, just the page name on the footer doing its little thing. go forth and convert πŸ¦‹πŸ’–βœ¨

πŸ“¦ where this page comes from