FPDF error: Unsupported image type: com#write