Any body please help following command BufferedImage bi = new BufferedImage( abc.getWidth(),abc.getHeight(),BufferedImage.TYPE_INT_RGB);is not working on linux but it is working on windows and creates Image.