Images are handled by the device functions to plot images. See Images Images for more information.
The fz_clip_image_mask function is used to start a clip. Subsequent operations will be clipped through the area delimited by this, until a fz_pop_clip is seen. See Clipping Clipping for more details.