Creation of PDF with images