Remove unnecessary function
This commit is contained in:
parent
54848cb87c
commit
6c0520c526
|
@ -35,11 +35,6 @@ export async function processJpeg(file) {
|
|||
}
|
||||
|
||||
export async function processPng(file) {
|
||||
const png = await readPngAsync(file)
|
||||
return png
|
||||
}
|
||||
|
||||
export async function readPngAsync(file) {
|
||||
return new Promise(async (resolve, reject) => {
|
||||
let png = new PNG({ filterType: 4 })
|
||||
|
||||
|
|
Loading…
Reference in New Issue