code: public BufferedImage getImage(Photo photo, int size) throws FlickrException {
          try {
              return ImageIO.read(getImageAsStream(photo, size));
          } catch (IOException e) {
              throw new FlickrException(e.getMessage(), e.getCause());
          }
      }
docs: Request an image from the Flickr-servers.
  <p>
  
  At {@link Size} you can find constants for the available sizes.
  
  @param photo
  A photo-object
  @param size
  The size
  @return An Image
  @throws FlickrException