---
name: "s2tc_compress"
section: "1"
platform: "linux"
package: "libtxc-dxtn-s2tc-bin"
version: "1.0+git20151227-2"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/s2tc_compress"
---

# s2tc\_compress(1)

Compress the image into a S2TC format texture.

## NAME

s2tc\_compress - Compress the image into a S2TC format texture.

## SYNOPSIS

**s2tc\_compress**

## DESCRIPTION

s2tc\_compress allows compression of images into S2TC format textures.

## OPTIONS

- **-i**

  *INFILE.tga*

- **-o**

  *OUTFILE.dds*

- **-t**

  One of the following compression algorithms

  **DXT1**

  **DXT3**

  **DXT5**

- **-l**

  *libtxc\_dxtn.so* Path to an implementation of libtxc-dxtn

- s2tc\_compress is part of the S2TC toolset

  ## AUTHOR

This manual page was written by Lennart Weller \<lhw@ring0.de\>, for the Debian project (but may be used by others).
