Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
squish.h
✓ #include <squish.h>
Compress RGBA image to DXT1
#include <squish.h>
#include <vector>
int main() {
int width = 64, height = 64;
std::vector<unsigned char> rgba(width * height * 4, 255);
std::vector<unsigned char> compressed(squish::GetStorageRequirements(width, height, squish::kDxt1));
squish::Compress(rgba.data(), compressed.data(), width, height, squish::kDxt1);
return 0;
}
Debug
Known issues
No known issues recorded.
Audit
Dependencies
No dependency data recorded yet.
Resources
No resource links recorded.