code: protected static BufferedImage loadImage (File file, boolean useFastIO)
          throws IOException
      {
          if (file == null) {
              return null;
          } else if (useFastIO) {
              return FastImageIO.read(file);
          }
          return ImageIO.read(file);
      }
docs: Loads an image from the supplied file. Supports {@link FastImageIO} files and formats
  supported by {@link ImageIO} and will load the appropriate one based on the useFastIO param.