title: How to load an image in a Java console application? (without an applet)
body: <p>I'm making a Java console application that outputs a series of image files, and I want to draw an image file as part of the output. getImage doesn't seem to work though, it needs Toolkit or something.</p>
  
  <pre><code>Image cover = getImage("cover.png");
  </code></pre>
  
  <p>Any ideas?</p>
  
  <p>Edit: The program doesn't display images, it generates them and saves them into a series of files. I figured out how to save the images, and drawing basic geometry works, but not images for whatever reason.</p>