I take my minor complaint back. I just typed into chatGPT "use single page vanilla javascript and html to make a simple webcam that displays an image on a webpage and allows saving of the image in PNG format"