This class enables an active directory search on any domain. It has some really useful code that works out the root of the domain so there is no need to go searching for it. It has a number of useful methods. These inlcude: Find user and their ascociated data in AD, Get users groups and get Group members (this works for nested groups too).
The utility is very simple: given an "input" folder, it looks for JPG pictures in that folder and one by one it takes them, reduces their sizes by a specified factor, and save them in a given "output" folder. In the "normal mode", when you press the "GO" button, the input folder is scanned, each single picture found is shown in the preview box and you are asked about the conversion of that specific picture. Under the preview box you can find the filename and the size of the image (size on disk, dimensions X and Y, aspect ratio). The conversion can be done also in "batch mode" (that is: without human intervention, converting all the pictures found in the input folder) if you check the "Batch processing" checkbox before pressing the "GO" button. To stop the batch processing while running, just uncheck the option to revert to "normal mode".