implements image.extract (copy). #36