public void Process()
	{
		Scanner sc = new Scanner(System.in);
		int choice = 0;
	
	    while(choice != 2)
	    {
	    	printMenu();
	    	choice = sc.nextInt();
	    	switch(choice)
	    	{
	    	case 1://DCT-Based Image Compression 
	    		System.out.println("DCT-Based Image Compression-------------");
	    		System.out.println("Please enter desired quality [0-5] : ");
	    		int t = sc.nextInt();
	    		if(t > 5 || t < 0)
	    		{
	    			System.out.println("Value entered must be between 0 and 5!");
	    			break;
	    		}
	    		DCTCompression dct = new DCTCompression(file, t);
	    		dct.Process();
	    		break;
	    	case 2://Quit
	    		sc.close();
	    		System.out.println("--Good Bye--");
	    		break;
	    	default:
	    		System.out.println("Please enter a value between 1 and 2.");
	    	}
	    }
	}