private void resizeImage()
	{
		int h = image.getH();
		int w = image.getW();
		
		if(h % 8 == 0 && w % 8 == 0)
		{
			System.out.println("Image does not need resizing.");
			wasResized = false;
			return;
		}
		wasResized = true;
		
		if(h % 8 != 0)
		{
			h += 8 - (h % 8);
			
		}
		
		if(w % 8 != 0)
		{
			w += 8 - (w % 8);
		}
		wpadding = new Image(w, h);
		wpadding.makeBlackImage();
		
		for(int y = 0; y < originalH; y++)
		{
			for(int x = 0; x < originalW; x++)
			{
				int[] rgb = new int[3];
				image.getPixel(x, y, rgb);
				wpadding.setPixel(x, y, rgb);
			}
		}
	}