{"id":46410838,"url":"https://github.com/oblivioncth/libsquish","last_synced_at":"2026-05-11T12:03:29.080Z","repository":{"id":143363542,"uuid":"611855242","full_name":"oblivioncth/libsquish","owner":"oblivioncth","description":"Library for compressing images with the DXT/S3TC standard. Forked from https://sourceforge.net/projects/libsquish/","archived":false,"fork":false,"pushed_at":"2025-09-05T01:14:35.000Z","size":15331,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-05T01:14:56.196Z","etag":null,"topics":["cmake","cmake-fetchcontent","cmake-packages","compression","cxx","dxt","forked-repo","image","image-compression","image-processing","library","modern-cmake","s3tc","squish"],"latest_commit_sha":null,"homepage":"https://oblivioncth.github.io/libsquish/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oblivioncth.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog (Historical).txt","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-03-09T17:21:45.000Z","updated_at":"2025-09-05T01:14:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"c9c3e717-d652-4674-9e8e-0248ae1d4e45","html_url":"https://github.com/oblivioncth/libsquish","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/oblivioncth/libsquish","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oblivioncth%2Flibsquish","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oblivioncth%2Flibsquish/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oblivioncth%2Flibsquish/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oblivioncth%2Flibsquish/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oblivioncth","download_url":"https://codeload.github.com/oblivioncth/libsquish/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oblivioncth%2Flibsquish/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30127441,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T12:40:50.676Z","status":"ssl_error","status_checked_at":"2026-03-05T12:39:32.209Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cmake","cmake-fetchcontent","cmake-packages","compression","cxx","dxt","forked-repo","image","image-compression","image-processing","library","modern-cmake","s3tc","squish"],"created_at":"2026-03-05T13:17:44.267Z","updated_at":"2026-03-05T13:17:44.369Z","avatar_url":"https://github.com/oblivioncth.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# libsquish\n\u003cimg align=\"left\" src=\"https://i.imgur.com/nRgZRya.png\" width=50%\u003e\n\nThe squish library (primarily known by libsquish) is an open source DXT/S3TC compression library written in C++ that is commonly used with OpenGL and DirectX for the lossy compression of RGBA textures.\n\n[![Dev Builds](https://github.com/oblivioncth/libsquish/actions/workflows/build-project.yml/badge.svg?branch=dev)](https://github.com/oblivioncth/libsquish/actions/workflows/build-project.yml)\n\n**Features:**\n - Supports the DXT1, DXT3 and DXT5 formats.\n - Optimized for both SSE and Altivec SIMD instruction sets.\n - Builds on multiple platforms (x86 and PPC tested).\n - Very simple interface (single header squish.h).\n - Conforms to the S3TC and DXT standard\n - Easy creation of compressed textures for OpenGL, DirectX, and other renderers\n - Reentrant API for parallelization purposes\n - OpenMP support\n\n\n\n## Modern CMake Fork\nlibsquish was originally developed by Simon Brown (si@sjbrown.co.uk), and is currently maintained by \nStefan Roettger (snroettg@gmail.com) on [SourceForge](https://sourceforge.net/projects/libsquish/).\n\nThis fork features a reorganized source structure and completely rewritten CMake scripts that employ \"Modern CMake\" practices.\n\nHowever, this does come at the cost of requiring CMake 3.23 or greater.\n\n**Differences Summary:**\n\n - In-built package configuration file(s) that obviates the need for an external Find-module\n - Full compatibility with CMake's `FetchContent` mechanism\n - Use of alias targets and export names that allow for seamless consumption of targets regardless of whether the library was acquired via `FetchContent`/`add_subdirectory()` or `find_package()`\n - All outward facing facets of the library's CMake implementation are pre-fixed with `libsquish` instead of simply `squish`. This avoids confusion and collision issues with the Squish GUI testing framework (i.e. the built-in FindSquish.cmake module)\n - The public header is now in a project specific sub-directory. Incude via `#include \u003csquish/squish.h\u003e` instead of just `#include \u003csquish.h\u003e`\n - Install components of the package are automatically set to `EXCLUDE_FROM_ALL` if libsquish is not the top-level project in order to prevent unwanted pollution of its install prefix. The components can still be installed explicitly\n - Each target is neatly contained in its own subdirectory\n - Use of more target specific property modifiers where available (e.g. `target_compile_definitions()` and `target_compile_options()` instead of `add_definitions()`)\n - Propegation of required compiler options (e.g. `-fopenmp`) to consumers when building libsquish statically \n - Promotion of the color error test application to a proper autotest via CTest\n - Exports for the \"extra\" PNG and Generator demo applications\n - CMake target for building the documentation\n - CI/CD via GitHub Actions for generating online documentation, builds, and releases\n\n\nSee the *Packaging* and *Building From Source* sections of the [documentation](https://oblivioncth.github.io/libsquish/) for a detailed overview of the various CMake options, targets, install components, etc.\n\nSupport for the other build systems (e.g. qmake, standalone GNU make) has been removed due to the source structure changes. They may be reworked and re-added at a later time.\n\nThe actual library code has remained essentially untouched, aside from a few minor tweaks to account for the build script and source directory changes.\n\nAlthough unlikely given libsquish's maturity, if functional changes occur within the upstream library they will be synchronized here.\n\n## Documentation:\nDetailed documentation of this library, facilitated by Doxygen, is available at: https://oblivioncth.github.io/libsquish/\n\n## Getting Started\nEither grab the latest [release](https://github.com/oblivioncth/libsquish/releases/) or [build the library from source](https://oblivioncth.github.io/libsquish/index.html#autotoc_md6), and import using CMake.\n\nBuilding from source is recommended as this library can easily be integrated as a dependency into your project using CMake's FetchContent. An example of this is demonstrated in the documentation.\n\nFinally, the [Minimal Example](https://oblivioncth.github.io/libsquish/index.html#autotoc_md5), gives a basic overview of how to use the public interface.\n\n### Summary\n\n - C++98\n - CMake 3.23.0\n\n### Dependencies\n- [OBCMake](https://github.com/oblivioncth/OBCmake) (build script support, fetched automatically)\n- [Doxygen](https://www.doxygen.nl/)  (for documentation)\n \n## Pre-built Releases/Artifacts\n\nReleases and some workflows currently provide builds of libsquish in various combinations of platforms and compilers. View the repository [Actions](https://github.com/oblivioncth/libsquish/actions) or [Releases](https://github.com/oblivioncth/libsquish/releases) to see examples\n\n## License\n\nThe squish library is distributed under the terms and conditions of the MIT\nlicense. This license is specified at the top of each source file and must be\npreserved in its entirety.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foblivioncth%2Flibsquish","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foblivioncth%2Flibsquish","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foblivioncth%2Flibsquish/lists"}