Editor crash when loading large images
When Trying to open a large image in the editor, it crashes after some while. This is likely caused by our animation loop not playing nice with such a long-running task on the main thread
After fixing the mutex errors, this seems to be related to the image serialization.
This might actually be a memory issue as the in memory representation takes 384mb which is quite substantial
The crash shown is from the autosaving (see all the serde in the call stack). This will likely be solved as part of #1604.
See also discussion in #1231 which is a duplicate of this.