oops forgot to return buffer

This commit is contained in:
Dank074 2021-07-29 17:07:51 -05:00
parent 8d006da57b
commit 12babf62e6

View File

@ -56,6 +56,8 @@ export class PNGEncoder
PNGEncoder.writeChunk(writer1, 1229209940, writer3);
PNGEncoder.writeChunk(writer1, 1229278788, null);
return writer1.getBuffer();
}
private static getPixel(imageData: ImageData, x: number, y: number): number