vtf

Work with VTF files in javascript

Usage no npm install needed!

<script type="module">
  import vtf from 'https://cdn.skypack.dev/vtf';
</script>

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