Open lazarusA opened 2 years ago
What do you mean by if the color is changed by earth_img
? I don't see something like that in the code?
Or do you just mean, to actually pass earth_img
as color?
yes, pass earth_img
as color. Just as it is.
@SimonDanisch What's the state of this? Is this a bug, expected, ...?
This is somewhat expected... Although I can see this being worse than before, one Bonito (formerly JSServe) release made record_state record many more redundant states than before, and there may also be something related to the recently fixed triple updates of updating a heatmap with a new color.
Hmm, sounds like there is work to be done then. Maybe this should be moved to Bonito though?
The following is just 419 KB, however if the color is changed by earth_img then the final size is 57 MB 😱.
I remember seeing something similar some months ago and at some point @SimonDanisch did some magic, probably there is a regression now 🤷🏼♂️
EDIT: It looks like this is the way it is because the image is too large. But still, I wonder if is possible to have a smaller file.