wip
This commit is contained in:
parent
a2ae536048
commit
e5226f0df1
1 changed files with 1 additions and 2 deletions
|
@ -1,5 +1,4 @@
|
||||||
import {
|
import {
|
||||||
readFileSync,
|
|
||||||
writeFileSync
|
writeFileSync
|
||||||
} from 'fs';
|
} from 'fs';
|
||||||
|
|
||||||
|
@ -701,7 +700,7 @@ function imageToLinearRGB(rgba) {
|
||||||
* @param {string} source path to source image file
|
* @param {string} source path to source image file
|
||||||
* @returns {{width: number, height: number, lines: {palette: Array, output: Uint8Array}[]}}
|
* @returns {{width: number, height: number, lines: {palette: Array, output: Uint8Array}[]}}
|
||||||
*/
|
*/
|
||||||
async function convert(source, nbits) {
|
async function convert(source) {
|
||||||
|
|
||||||
let {
|
let {
|
||||||
width,
|
width,
|
||||||
|
|
Loading…
Reference in a new issue