Extracting Portions of Images