TCPDF error: Unsupported image type: jpg&maxw=300