What could be the efficient way to generate fixed size thumbnails for large size images in Java?
I have a multiple directories/sub-directories to scan for image files and generate thumbnails for each image. Can I browse multiple directories at same time and generate thumbnail simultaneously? I'm thinking of having two types of processes:
- To scan directories. (Multiple but limited thread count).
- To generate thumbnail. (Single thread as image IO could eat too much memory) .
Any suggestions?