title: Save SWT Image to File with Transparency Mask
body: <p>This is my code thus far</p>
  
  <pre><code>ImageLoader saver = new ImageLoader();
  saver.data = new ImageData[]
      { toSave.getImageData() };
  saver.save(fileName, SWT.IMAGE_PNG);
  </code></pre>
  
  <p><code>toSave</code> is an image that was loaded using the <code>SWTResourceManager</code> that is transparent in the program. <code>fileName</code> is a string representing the file I want to save the image to (ends with .png)</p>
  
  <p>The result is an image with a black background instead of a transparent background that I want. How do I make the background transparent? I think it has something to do with the transparency mask, but I could be wrong.</p>
  
  <p>Thanks in advance!</p>