Example of resizing an image