Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -92,7 +92,7 @@ async function handleEvent(event) { | ... | @@ -92,7 +92,7 @@ async function handleEvent(event) { |
92 | 92 | ||
93 | var PNG = require('png-js'); | 93 | var PNG = require('png-js'); |
94 | 94 | ||
95 | -var myimage = new PNG("./photo/1.png"); | 95 | +var myimage = new PNG(chunk); |
96 | 96 | ||
97 | var width = myimage.width; | 97 | var width = myimage.width; |
98 | var height = myimage.height; | 98 | var height = myimage.height; | ... | ... |
-
Please register or login to post a comment