$fromPath = "c:\temp\pic1.jpg"; $toPath = "c:\images\thumb1.jpg"; @newDims = util_photo_GenerateThumbnail($fromPath, $toPath)