Port rasterize to use webshot and commander

Note that it is still missing support for `zoomFactor`.