Resize pictures

Primary purpose is to create thumbnail images for my picture galleries,
but this could be used to enlarge pictures as well.