You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Regarding documentation the addImage() method accepts Uint8Array.
However when using image data as Uint8Array the call to getImageFileTypeByImageData() fails.
This method assumes a binary-string? (at least no support for Uint8Array) and tries to call .charCodeAt() on the image data.
Either getImageFileTypeByImageData() shall support Uint8Array or addImage() shall call getImageFileTypeByImageData() with the correct converted image data type.