Closed jamsinclair closed 1 year ago
Is your feature request related to a problem? Please describe.
The png module is not easy to use with Cloudflare Workers and fails unless additional polyfills are added.
Other jSquash modules polyfill useful APIs like ImageData like jpeg, avif and jxl.
ImageData
Describe the solution you'd like
The png module polyfills ImageData when used in a Cloudflare Worker
Additional context Originally requested in https://github.com/jamsinclair/jSquash/pull/21#issuecomment-1615577893
Is your feature request related to a problem? Please describe.
The png module is not easy to use with Cloudflare Workers and fails unless additional polyfills are added.
Other jSquash modules polyfill useful APIs like
ImageData
like jpeg, avif and jxl.Describe the solution you'd like
The png module polyfills
ImageData
when used in a Cloudflare WorkerAdditional context Originally requested in https://github.com/jamsinclair/jSquash/pull/21#issuecomment-1615577893