Trim a screenshot