ASTC Encoder - available on GitHub

The ASTC Encoder is a command-line executable that compresses and decompresses images using the Adaptive Scalable Texture Compression standard. Running on a standard PC, this tool allows content developers to evaluate the impressive quality and size benefits offered by this texture compression format, in advance of it being available in GPU hardware.

View on GitHub

Github (logo).

ASTC Encoder characteristics

The "astcenc" texture compressor is an open source compressor for the ASTC texture format. It is widely used due to its high image quality, and support for all of the color profiles and bit rates (block sizes) provided by the format.

Version 2.0 release significantly improves compression performance, with optimized paths for SSE4.2 and AVX2. It also provides an updated library API to allow direct integration of the codec into other applications.

3 comparisons of ASTC Texture.

Compressor Features

The compressor supports all of the format features, and provides a highly configurable codec with command line access to all of the compressor heuristics.

  • All 2D block sizes, allowing control of bit rate from 0.89 bits/pixel up to 8 bits/pixel in fine steps.
  • All 3D block sizes, allowing control of bit rate from 0.59 bits/pixel up to 4.74 bites/pixel in fine steps.
  • All color profile, allowing linear LDR, sRGB LDR, and HDR images.
  • Support for dedicated perceptual compression modes for normal maps and mask textures.

For image compression the following formats are supported:

  • Loading LDR images in BMP, JPEG, PNG, and TGA formats.
  • Loading HDR images in OpenEXR and Radiance HDR formats.
  • Loading uncompressed LDR and HDR images stored in the DDS or KTX container formats.
  • Storing compressed textures into the “.astc” file format provided by astcenc, or the KTX container format.

For image decompression the following formats are supported:

  • Loading compressed textures in the “.astc” file format provided by astcenc, and the KTX container format.
  • Storing LDR images into BMP, PNG, and TGA formats.
  • Storing HDR images into OpenEXR and Radiance HDR formats.
  • For image analysis the tool supports a test mode which provides image quality statistics about the compressed image.

ASTC Texture Compression

Learn about why texture compression matters, and how ASTC provides increased flexibility and performance.

Read blog

ASTC User Guide

This guide provides information about how you can use Adaptive Scalable Texture Compression (ASTC) to optimize the performance of your apps.

Read the guide

ASTC Format Overview

Learn how ASTC offers a number of advantages over earlier texture compression formats.

Read on GitHub