(Updated 2018-07-11)
Add option to control output paths of the etcpak making it possible to run multiple instances in parallel.
Add support for saving ETC1 and ETC2 compressed images to PKM container.
Extra arguments:
- --out argument to choose output file
- --out-alpha argument to save alpha only file
- --format [pvr|pkm] to choose output format
etcpak is an extremely fast Ericsson Texture Compression utility. Currently it's best suited for rapid assets preparation during development, when graphics quality is not a concern, but it's also used in production builds of applications used by millions of people.
Benchmark performed on an Intel i7 8700K, using a real-life RGBA 16K × 16K atlas:
ETC1: 113 ms / 2.375 Gpx/s (only RGB part)
ETC2 RGB: 213 ms / 1.26 Gpx/s (only RGB part)
ETC2 RGBA: 404 ms / 664 Mpx/s
This is 100× - 1000× faster than any other ETC compression tool (there's no typo in the numbers).
Why there's no image quality metrics? / Quality comparison.
Workload distribution.
Original image:
Compressed image:
etcpak 0.6
etcpak 0.5
etcpak 0.4
etcpak 0.3
etcpak 0.2.2
etcpak 0.2.1
etcpak 0.2
etcpak 0.1