mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2025-01-31 11:12:35 +01:00
oops forgot to return buffer
This commit is contained in:
parent
8d006da57b
commit
12babf62e6
@ -56,6 +56,8 @@ export class PNGEncoder
|
|||||||
|
|
||||||
PNGEncoder.writeChunk(writer1, 1229209940, writer3);
|
PNGEncoder.writeChunk(writer1, 1229209940, writer3);
|
||||||
PNGEncoder.writeChunk(writer1, 1229278788, null);
|
PNGEncoder.writeChunk(writer1, 1229278788, null);
|
||||||
|
|
||||||
|
return writer1.getBuffer();
|
||||||
}
|
}
|
||||||
|
|
||||||
private static getPixel(imageData: ImageData, x: number, y: number): number
|
private static getPixel(imageData: ImageData, x: number, y: number): number
|
||||||
|
Loading…
x
Reference in New Issue
Block a user