Clip and transform image example