Allocates a new Pixmap cropped to the pixel data of the subimage.
Use extractToPixmap for a non-allocating variant with a target parameter.
See Implementation
Allocates a new Pixmap cropped to the pixel data of the subimage.