TCPDF error: Unsupported image type: jpg?resize=787%2c445