[BUG] jpg: failed to decode
Describe the bug in function const image = await Image.decode(imageData); error jpg: failed to decode
Error: jpg: failed to decode at Module.decode (/test/[email protected]/utils/wasm/jpeg.js:41:24) at Function.decode (/test/[email protected]/ImageScript.js:1047:41) at createThumbnail (/test/photo.ts:594:31) at eventLoopTick (/test/ore/01_core.js:175:7) at async Object.main [as photo] (/test/photo.ts:229:19) at async Promise.all (index 0) at async handler (/home/user/.cache/deno/npm/registry.npmjs.org/graphql-http/1.22.0/lib/handler.mjs:319:22) at async handleRequest (/test/[email protected]/mod.ts:63:28) at async file:///test/main.ts:245:31 at async mapped (ext:deno_http/00_serve.ts:384:18) {stack: 'Error: jpg: failed to decode at Module.de…ync mapped (ext:deno_http/00_serve.ts:384:18)', message: 'jpg: failed to decode'}
image file info: JPEG image data, JFIF standard 1.01, aspect ratio, density 1x1, segment length 16, Exif Standard: [TIFF image data, big-endian, direntries=12, manufacturer=Apple, model=iPhone 11, orientation=upper-left, xresolution=174, yresolution=182, resolutionunit=2, software=16.4.1, datetime=2023:05:23 14:07:10, hostcomputer=iPhone 11], baseline, precision 8, 4032x3024, components 3