I want to make a c++ program that can open an image that is in any of the major formats (jpg, gif, bmp, png) and has any size and I want to resize it to a specific size (no, I don't care if it looks stretched) and save it to a different folder under the same file name. I'm not worried about maintaining the same file format (like, if it's easier to convert it to bmp before working with it, i'm okay with that).
What I'm doing is revamping my website's photo gallery, and I want an easy thumbnail generator where you just drag and drop the original, multi-megabyte file onto a program that instantly creates a thumbnail for you and all you have to do is add that thumbnail to the gallery page.
Is this possible? Does anyone have any snippets or links to tutorials?
By the way, I'm using Dev-C++ on windows 7.