I want a user of my application to be able to select a .JPG for inclusion in a Catalogue. When they select the .JPG, it will be moved into the appropriate Catalogue directory structure under a folder called Images. At the same time, I would like a fixed size thumbnail, of the same Image, to be placed in a Thumbnails folder.

I have no problem with creating etc the folders/files.

My question is:

Is there an easy/cool way for me to generate a Thumbnail from an Image? For the purpose of simplicity, assume all of the images are square.

If it matters, the images will be > 1000x1000 and the Thumbnails will be < 100x100.