TCPDF error: Unsupported image type: jpg&h=235&w=585