code: public void storeVisualization(File destination) throws IOException {
          final byte[] data = Base64.decodeBase64(getVisualization());
          try (OutputStream stream = new FileOutputStream(destination)) {
              stream.write(data);
          }
      }
docs: Stores visualization image into the given file.
  
  @param destination file to save image.