(bytes: Uint8Array)
| 77 | } |
| 78 | |
| 79 | async function decodeAlpha(bytes: Uint8Array): Promise<boolean> { |
| 80 | const image = await Jimp.fromBuffer(Buffer.from(bytes)); |
| 81 | return image.hasAlpha(); |
| 82 | } |
| 83 | |
| 84 | // ── fast path ──────────────────────────────────────────────────────── |
| 85 |
no outgoing calls
no test coverage detected