JSPM

@gpu-tex-enc/astc

4.7.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 6321
  • Score
    100M100P100Q155511F
  • License Apache-2.0

Compressing images using the ASTC texture compression standard.

Package Exports

  • @gpu-tex-enc/astc
  • @gpu-tex-enc/astc/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@gpu-tex-enc/astc) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@gpu-tex-enc/astc

Compressing images using the ASTC texture compression standard.

astcenc v4.6.1

Description

This module provides a Node.js interface for compressing images into ASTC format, an efficient texture compression standard suited for GPU textures. It wraps various astcenc binaries for different platforms and CPU architectures, ensuring broad compatibility and performance.

Features

  • Supports multiple CPU architectures and operating systems.
  • Easy integration with Node.js projects.
  • Utilizes the latest astcenc binaries for optimal compression.

Installation

Install the module via npm:

npm install @gpu-tex-enc/astc

Usage

To use this module, require it in your Node.js project:

const astc = require('@gpu-tex-enc/astc');

// Example usage here...

Binaries

The package includes pre-compiled astcenc binaries for the following platforms and architectures:

  • Linux (x64) - AVX2, SSE2, SSE4.1
  • Windows (x64, ARM64) - AVX2, SSE2, SSE4.1
  • Darwin (x64, ARM64) - AVX2, SSE2, SSE4.1

Dependencies

  • cpu-features: To determine the best binary for your CPU.

Repository

The source code is available on GitHub:

github.com/ddenisyuk/gpu-tex-enc

License

This project is licensed under the Apache-2.0 License.