Tool for resizing images