Save function take more execution time while multi threading

Hi @Sebastian / @keerthitheja

i looked into the code of saving .bmp.
IF your image format does not allow saving the image in a block it will be save line wise, which might be slower.
I.e. it must be RGB8 or MONO8, width*byte per pixel % 4 must be 0 and some other constraints.

So what does this mean for us.

I would suggest the following:

  1. Test saving as .jpg and .tiff, they might be faster
  2. Test directly dumping the image data (i.e. as a raw buffer). Via Linear Access.

Ah, i got curious and tested it myself. Here are the results: https://forum.commonvisionblox.com/t/image-saving-time-considerations/1717