update usage of rasterizePdf()