debug img in pdf.