Hacker News new | ask | show | jobs
by achairapart 1923 days ago
Maybe you can double its usefulness by adding an option to save as WebP, so that's both a ratio and a format converter.

I think should be trivial, on current supported browsers at least.

1 comments

Does the Canvas api have support for webp?
By quickly looking at MDN[0], at least in Chrome, yes. Honestly, I can't say for other browsers at the moment.

[0]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasE...