I have a folder with many images with different backgrounds. I have got requirement to sort these images on the basis of background color.
Can I make a java program to read the folder and each image file in there, and decide the image of each file? please share options.
Yes, it is possible. You can load images with ImageIO.
But you have to create an algorithm that finds out which color is the backround color. It depends on the kind of images.