open-webui/src/lib/utils
Self Denial ac9308dbed Introduce canvasPixelTest() intended to validate canvas functionality
Browsers and plugins that spoof canvas data produce corrupt images. In attempt to mitigate:

* Add canvasPixelTest() to test a single pixel and test the RGB values
* Test canvasPixelTest() inside generateInitialsImage() and use default `/user.png` if failure detected
* Call canvasPixelTest() directly within settings to avoid setting an invalid image
* Use toast.error() with 10 second autoClose
2024-04-05 16:04:00 -06:00
..
rag feat: editable rag template 2024-02-17 22:41:03 -08:00
transitions feat: custom model selector 2024-03-24 15:28:36 -07:00
index.ts Introduce canvasPixelTest() intended to validate canvas functionality 2024-04-05 16:04:00 -06:00