Changing image color takes too much time in android

view story

http://stackoverflow.com – I am trying to change image color dynamically in android .but it takes to much time . Below function is used for changing color. public void greenColor(ImageView imageView,String fileName){ System.out.println("in green color method"); //initialize the Bitmap Object Bitmap bmp = BitmapFactory.decodeFile(fileName); // Bitmap bmp = ((BitmapDrawable)imageView.getDrawable()).getBitmap(); //Guarantees that the image is decoded in the ARGB8888 format bmp = bmp.copy(Bitmap.Config.ARGB_8888, true); (HowTos)