forked from olcxjas-softworks/LarpixClient
big updat:
- update dependencies - add webp support and webp conversion for profile images
This commit is contained in:
parent
19c3dbb42d
commit
95aaaa69ea
244 changed files with 121382 additions and 86 deletions
BIN
node_modules/js-binary-schema-parser/example/box.gif
generated
vendored
Normal file
BIN
node_modules/js-binary-schema-parser/example/box.gif
generated
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 69 B |
BIN
node_modules/js-binary-schema-parser/example/dog.gif
generated
vendored
Normal file
BIN
node_modules/js-binary-schema-parser/example/dog.gif
generated
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 76 KiB |
BIN
node_modules/js-binary-schema-parser/example/horses.gif
generated
vendored
Normal file
BIN
node_modules/js-binary-schema-parser/example/horses.gif
generated
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.9 MiB |
10
node_modules/js-binary-schema-parser/example/index.js
generated
vendored
Normal file
10
node_modules/js-binary-schema-parser/example/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import fs from 'fs'
|
||||
import { parse } from '../src'
|
||||
import { buildStream } from '../src/parsers/uint8'
|
||||
import { GIF } from '../src/schemas'
|
||||
|
||||
debugger
|
||||
|
||||
const data = fs.readFileSync('./example/dog.gif')
|
||||
const result = parse(buildStream(new Uint8Array(data)), GIF)
|
||||
console.log(result)
|
||||
Loading…
Add table
Add a link
Reference in a new issue