Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

vtf

Work with VTF files in javascript

vtf

readme

VTF.js

Create vtf files in nodejs or the browser (using browserify)

Ported from VTFLib using emscripten

Usage

var vtf = require('./src/vtf.js');
// rgba data should be an uint8array
var outputRGBAData vtf.fromRGBA(inputRGABATA, width, height);

Licence

LGPL