debugging image in pdf.