Added DPI option to pageSize.
Added DPI to rasterize example.