Testing canvas and composite images with masks and multiply filters