News for hackers. Stuff that matters.
Re:Ask HN: Why have browsers not provided a client solution ... by 8organicbits on Tuesday April 11, 2023 @12:24PM (#35527408)
I thought Javascript and canvas worked fine?

https://hacks.mozilla.org/2011/01/how-to-develop-a-html5-ima...

Re:Ask HN: Why have browsers not provided a client solution ... by morphicpro on Tuesday April 11, 2023 @12:38PM (#35527579)
I have done this before with wasm and other libs too, but the issues is that you still have to load the image into the dom in somecases this can become an issue for large images. Given the size of images on phones now a days and then trying do run something like this on the mobile browser and you will quickly find out way this is not optimal. I would rather the browser did more heavy lifting via simpler JS apis. AS3 still has better graphical api compared to JS today. Canvas just does not cut it.