Texture compression library