fixed up imageToPdf
0.10.0