Encoding Data In Images | Fabian Iwand | Observable
•ojs
•ojs
•ojs
•ojs
•ojs
Comments (2)
Jacob Rus
Apr 22, 2021
you may want to pass an optional width parameter through from this function to 'encode', e.g by: async function blob2canvas(blob, parameters = {}) { parameters.channels ??= 3; const data = await encode(blob, parameters);
Fabian Iwand
Apr 22, 2021
Good suggestion, thanks! Additional properties now get passed through to encode().
Reply
Add comment
Subscribe to notifications
Observable
Sign in
Fabian Iwand
40
Reply
Add comment
Subscribe to notifications
20
Encoding Data In Images | Fabian Iwand | Observable