package com.clackathon.vuzii;

import lombok.Data;

import java.net.URL;
import java.util.Date;
import java.util.List;

/**
 *
 *
 * @author Cameron
 */
@Data
public class Image {
	long mediaID;
	List<String> tags;
	List<User> likers;
	List<String> comments;
	ImageData standard;
	User uploader;
	Date creationTime;
	String location;


    @Data
    public static class ImageData {
		URL imageLocation;
		int width;
        int height;
    }
}

@@ -44,16 +44,111 @@
 k.Data;%0A
+import lombok.SneakyThrows;%0A%0Aimport javax.imageio.ImageIO;%0Aimport java.awt.image.BufferedImage;
 %0Aimport 
@@ -523,16 +523,112 @@
  height;
+%0A%0A%09%09@SneakyThrows%0A%09%09public BufferedImage download() %7B%0A%09%09%09return ImageIO.read(imageLocation);%0A%09%09%7D
 %0A    %7D%0A%7D

Add ImageData.download