Bst_report snapshot

Quick question. The code says png, but saves report snapshots as gif:

            % Convert image to PNG
            jByteStream = java.io.ByteArrayOutputStream();
            javax.imageio.ImageIO.write(jImage, 'gif', jByteStream);

Is this a compatibility issue? It seemed to work ok for me when I replaced 'gif' with 'png'.

You are right, this is going to look nicer:
https://github.com/brainstorm-tools/brainstorm3/commit/e58f64ab8d1a055986de6d4baf879a55c53c320e