Improving Canvas Image Handling in Breniapp/brenia
Introduction
This post details a fix implemented in Breniapp/brenia to improve how canvas images are handled, specifically addressing issues with html2canvas when capturing overlays. The core problem was that the crossorigin="anonymous" attribute on canvas images was causing html2canvas to fail in certain scenarios.
The Problem: CORS and html2canvas
The crossorigin="anonymous"