Extracting sprites