S2tc

Jul 20, 2023

Subset of a well-known texture compression scheme

S2TC’s format specification is very easy to implement, so it is not hard to make a working compressor or decompressor for it. It is based on Color Cell Compression[1] from 1986, and decoding is done entirely using the methods from there. Encoding is done using a search and refinement method that is derived from the methods described in that paper.

This also makes this format a great platform for learning about texture compression and how to tune a compressor for best quality.

S2TC is especially well suited for runtime on-load compression of textures, as it is - in low quality settings - way faster than any other texture compressors out there.



Checkout these related ports:
  • Zphoto - Zooming photo album generator
  • Zint - Barcode generator (library and utilities)
  • Zimg - Image-generator that uses ASCII input files to create PNGs/EDFs
  • Zgv - Graphics viewer for SVGAlib
  • Zbar - ZBar barcode reader
  • Zathura - Customizable lightweight pdf viewer
  • Zathura-ps - PostScript support for Zathura PDF viewer
  • Zathura-pdf-poppler - Poppler render PDF plugin for Zathura PDF viewer
  • Zathura-pdf-mupdf - MuPDF render PDF plugin for Zathura PDF viewer
  • Zathura-djvu - DjVu support for zathura
  • Zathura-cb - Comic book plugin for Zathura PDF viewer
  • Yukon - Real-time capture tool for OpenGL applications
  • Yed - Editor for graphs and diagrams
  • Yafaray - Montecarlo raytracing engine
  • Yacreader - Yet another comic reader