ThaiPDF error: Unsupported image type: