TCPDF error: Unsupported image type: jpg?w=298&h=331