0.0.0-experimental.5 • Published 2 months ago
ktx2-encoder v0.0.0-experimental.5
ktx-encoder
This is a simple tool to convert images to KTX2(.ktx2) format. Ported from BinomialLLC/basis_universal.
Quick Start
Install:
npm install --save ktx-encoder
Import:
import { encodeKTX2, encodeKTX2Cube, release } from 'ktx-encoder';
Usage:
// encode a 2D image
encodeKTX2(data /** ArrayBuffer of png */, options);
// encode a cube map
encodeKTX2Cube([data, ...] /** ArrayBuffer of png */, options);
See options API documentation for more details.
Tool
- Start server
npm run dev
Open the page,default is http://localhost:5174/
Use it! Select your images and encode it to ktx2
0.0.0-experimental.5
2 months ago
0.0.0-experimental.4
2 months ago
0.0.0-experimental.3
2 months ago
0.0.0-experimental.2
2 months ago
0.0.0-experimental.1
2 months ago
0.0.3
10 months ago
0.0.5
10 months ago
0.0.4
10 months ago
0.0.6
10 months ago
0.0.2
1 year ago
0.0.1
1 year ago