metricq / metricq-webview

📈 A visualization of MetricQ data exploiting the advantages of the HTA db backend
GNU General Public License v3.0
7 stars 1 forks source link

Set background color #176

Closed Quimoniz closed 2 years ago

Quimoniz commented 2 years ago

When exporting image in various browsers, the result of exporting a JPEG should not depend on whatever the browser thought transparent might look like in a jpeg (which does not have transparency). In particular, fill all of the canvas background with White (using e.g. fillRect()) instead of filling it with transparent (e.g. clearRect()).

Quimoniz commented 2 years ago

Should be fixed with Pull Request#177.

@tilsche would you merge it?