private void load(){
		try{
			BufferedImage img = ImageIO.read(new File(path));
			width = img.getWidth();
			height = img.getHeight();
			pixels = new int[height * width];
			img.getRGB(0, 0, width, height, pixels, 0, width);
		}catch(IOException e){
			e.printStackTrace();
		}
	}