This tool is meant to integrate your infrastructure and provide realtime resource (images, textures) conversion to the ASTC compressed data format.
The ASTC compressed data format, developed by Arm® and AMD, has been adopted as an official extension to the OpenGL®, OpenGL ES, and Vulkan® graphics APIs.
See the official repository for more information: https://github.com/ARM-software/astc-encoder
- Call the service and provide an image file (JPG, PNG, ...)
- The service returns the converted resource in the ASTC format
input_file
: contains the input binary file (an image to convert); mandatoryblock_footprint
: size of your block footprint (default:6x6
)mode
: can be one of four choices (default
which is the linear LDR color profile,sRGB
,HDR1
tuned for HDR RGB and LDR A,HDR2
tuned for HDR RGBA)quality
: can befastest
,fast
,medium
,thorough
,exhaustive
(defaultmedium
)
- API wrapper
- Dockerfile
- Default parameters
This repository focuses on the x86_64
version of the ASTC encoder. If you wish to use another
instructions set, have a look at the official releases available on the ARM-software/astc-encoder
repository.
The service doesn't manage any queue because we don't need one, and it is recommended to deploy multiple instances in a cluster to handle a low or limited workload.