TCPDF error: Unsupported image type: jpg&maxx=300&maxy=0