News for hackers. Stuff that matters.
Re:Show HN: Make Your Photo 16x9 by achairapart on Thursday March 11, 2021 @01:07PM (#26427035)
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.

Re:Show HN: Make Your Photo 16x9 by einaregilsson on Thursday March 11, 2021 @01:13PM (#26427115)
Does the Canvas api have support for webp?
Re:Show HN: Make Your Photo 16x9 by achairapart on Thursday March 11, 2021 @01:25PM (#26427238)
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...